You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by "Chang, Claire" <Cl...@broadvision.com> on 2005/01/05 02:55:56 UTC

PortletDriver.getMarkup() and performBlockingInteraction()

In these two methods, the program will retry if an InvalidCookieFault is
caught. But the variable "response" nevrt gets updated before it is
returned. As a result, even the second try succeeds, the proxy portlet will
still fail.

changing these two lines

performBlockingInteraction(actionRequest, userID);

to

response = performBlockingInteraction(actionRequest, userID);

and change

getMarkup(markupRequest, userID);

to

response = getMarkup(markupRequest, userID);

should work

I guess this is a bug.

Claire

Re: PortletDriver.getMarkup() and performBlockingInteraction()

Posted by Diego Louzán <di...@metalicana.org>.
Please open a JIRA issue for this. Thanks.

Regards.
Diego.

Chang, Claire wrote:
> In these two methods, the program will retry if an InvalidCookieFault is
> caught. But the variable "response" nevrt gets updated before it is
> returned. As a result, even the second try succeeds, the proxy portlet will
> still fail.
> 
> changing these two lines
> 
> performBlockingInteraction(actionRequest, userID);
> 
> to
> 
> response = performBlockingInteraction(actionRequest, userID);
> 
> and change
> 
> getMarkup(markupRequest, userID);
> 
> to
> 
> response = getMarkup(markupRequest, userID);
> 
> should work
> 
> I guess this is a bug.
> 
> Claire