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 "Claire Chang (JIRA)" <ws...@ws.apache.org> on 2005/01/11 18:49:12 UTC

[jira] Created: (WSRP4J-53) PortletDriver.getMarkup() and performBlockingInteraction()

PortletDriver.getMarkup() and performBlockingInteraction()
----------------------------------------------------------

         Key: WSRP4J-53
         URL: http://issues.apache.org/jira/browse/WSRP4J-53
     Project: WSRP4J
        Type: Bug
  Components: Consumer  
    Versions: current (nightly)    
 Environment: windows xp
    Reporter: Claire Chang


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

changing these two lines in PortletDriver.java (in catch InvalidCookieFault code blocks):
 
performBlockingInteraction(actionRequest, userID);

to
 
response = performBlockingInteraction(actionRequest, userID);
 
and change
 
getMarkup(markupRequest, userID);
 
to
 
response = getMarkup(markupRequest, userID);
 
should work
 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (WSRP4J-53) PortletDriver.getMarkup() and performBlockingInteraction()

Posted by "Julie MacNaught (JIRA)" <ws...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/WSRP4J-53?page=history ]
     
Julie MacNaught resolved WSRP4J-53:
-----------------------------------

      Assign To: Julie MacNaught
     Resolution: Fixed
    Fix Version: current (nightly)

> PortletDriver.getMarkup() and performBlockingInteraction()
> ----------------------------------------------------------
>
>          Key: WSRP4J-53
>          URL: http://issues.apache.org/jira/browse/WSRP4J-53
>      Project: WSRP4J
>         Type: Bug
>   Components: Consumer
>     Versions: current (nightly)
>  Environment: windows xp
>     Reporter: Claire Chang
>     Assignee: Julie MacNaught
>      Fix For: current (nightly)

>
> In these two methods, the program will retry if an InvalidCookieFault is caught. But the variable "response" never gets updated before it is returned to proxy portlet. As a result, even the second try succeeds, the proxy portlet will still fail.
> changing these two lines in PortletDriver.java (in catch InvalidCookieFault code blocks):
>  
> performBlockingInteraction(actionRequest, userID);
> to
>  
> response = performBlockingInteraction(actionRequest, userID);
>  
> and change
>  
> getMarkup(markupRequest, userID);
>  
> to
>  
> response = getMarkup(markupRequest, userID);
>  
> should work
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira