[
https://issues.apache.org/jira/browse/PB-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ate Douma resolved PB-59.
-------------------------
Resolution: Fixed
Fix Version/s: 1.0.2
Fixed
> Struts bridge: render phase of portlet doesn't remove the attr RENDER_CONTEXT
> from the portlet session
> ------------------------------------------------------------------------------------------------------
>
> Key: PB-59
> URL: https://issues.apache.org/jira/browse/PB-59
> Project: Portals Bridges
> Issue Type: Bug
> Components: struts
> Affects Versions: 1.0.2
> Environment: tomcat 5.5.17, exo-portlet-container
> Reporter: Alexey Zavizionov
> Assignee: Ate Douma
> Priority: Critical
> Fix For: 1.0.2
>
>
> After the action phase, where set attribute RENDER_CONTEXT in the portlet
> session, the render phase doesn't remove the attribute RENDER_CONTEXT in the
> portlet session, because the pageURL == null .
> Why it hapens?
> code:
> String pageURL = getStrutsPageURL(request);
> Otherwise, in StrutsPortlet.processRequest the code
> portletSession.removeAttribute(RENDER_CONTEXT)
> must be achieved whether pageURL null or not.
> In the method StrutsPortlet.processRequest need to change the code:
> ===\/=\/=\/======
> if (pageURL == null)
> path = defaultPage;
> else
> {
> path = pageURL;
> ===/\=/\=/\======
> with the code:
> ===\/=\/=\/======
> if (pageURL == null)
> path = defaultPage;
> else
> path = pageURL;
> ===/\=/\=/\======
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]