You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bridges-dev@portals.apache.org by "Ate Douma (JIRA)" <br...@portals.apache.org> on 2007/06/09 03:04:26 UTC
[jira] Assigned: (PB-59) Struts bridge: render phase of portlet
doesn't remove the attr RENDER_CONTEXT from the portlet session
[ https://issues.apache.org/jira/browse/PB-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ate Douma reassigned PB-59:
---------------------------
Assignee: Ate Douma
> 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: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org