Uploaded image for project: 'MyFaces Portlet Bridge'
  1. MyFaces Portlet Bridge
  2. PORTLETBRIDGE-158

Portlet 2.0 Bridge event redirect doesn't work because scope isn't cleared

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.0-beta
    • Impl
    • None

    Description

      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.

      Attachments

        Activity

          People

            mike_freedman Michael Freedman
            mike_freedman Michael Freedman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: