MyFaces Portlet Bridge
  1. MyFaces Portlet Bridge
  2. PORTLETBRIDGE-10

Bridge should restore BridgeRequest scope in render before acquiring the FacesContext

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-alpha-2
    • Fix Version/s: 1.0.0-alpha-3
    • Component/s: Impl
    • Labels:
      None
    • Environment:
      Any

      Description

      Currently the Bridge restores the bridge request scope attributes along with any action parameters (if requested) and the view after acquiring the FacesContext. As the spec says we only exclude those attributes (from action) that existed before calling the Bridge/Faces we should restore these attributes before communicating with faces during render in case any of the FacesContext extensions need access to these attributes.

      Note: Restoring the action parameters should not me moved. As this restoration involves wrapping the request we can't move it as the Faces/ExternalContext must be constructed with the portlet containers native request object. This is so externalcontext.dispatch will work in a JSR168 world that doesn't define request wrapping.

      Note: restoring the view also must remain where it is after the FacesContext activation.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        231d 2h 26m 1 Michael Freedman 13/Jun/08 00:35
        Scott O'Bryan made changes -
        Fix Version/s 1.0.0 [ 12313058 ]
        Fix Version/s 1.0.0-alpha-3 [ 12313550 ]
        Fix Version/s 2.0.0 [ 12312992 ]
        Michael Freedman made changes -
        Fix Version/s 2.0.0 [ 12312992 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Michael Freedman added a comment -

        Fixed by checkin of PORTLETBRIDGE-36 : upgrade to revision 14 of the specification.

        Show
        Michael Freedman added a comment - Fixed by checkin of PORTLETBRIDGE-36 : upgrade to revision 14 of the specification.
        Scott O'Bryan made changes -
        Fix Version/s 1.0.0 [ 12313058 ]
        Fix Version/s 1.0.0-alpha-2 [ 12312834 ]
        Scott O'Bryan made changes -
        Assignee Michael Freedman [ mike_freedman ]
        Manfred Geiler made changes -
        Workflow jira [ 12415826 ] MyFaces Workflow2 [ 12417410 ]
        Scott O'Bryan made changes -
        Field Original Value New Value
        Fix Version/s 1.0.0-SNAPSHOT [ 12312834 ]
        Michael Freedman created issue -

          People

          • Assignee:
            Michael Freedman
            Reporter:
            Michael Freedman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development