Portlet 2.0 Bridge event redirect doesn't work because scope isn't cleared
--------------------------------------------------------------------------
Key: PORTLETBRIDGE-158
URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-158
Project: MyFaces Portlet Bridge
Issue Type: Bug
Components: Impl
Affects Versions: 2.0.0-alpha
Reporter: Michael Freedman
Assignee: Michael Freedman
Problem is the bridge automatically copies render parameters to the response at
the beginning of the request. If a redirect occurs the bridge request scope
should cleared/dropped -- however because its carried in a render parameter its
already carried forward so it stays around.
Fix: on a redirect clear the request scope. Since there is no way to remove a
render parameter once added, the easiest thing to do is to actually remove the
scope from the internal data structure. This way when we try to restore the
scope on the render it won't be there and we will just start a new one.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.