Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1886

StateManagerImpl.java - popRoot needs to use newInstance in a portlet use case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.12-core, 2.0.0-alpha
    • 1.2.14-core , 2.0.0-beta-1
    • Portlet
    • None
    • portlet, any OS

    Description

      The StateManagerImpl$PageState.popRoot method uses the PortletUtils.getPortletViewRoot method to wrap the root object when in a Portlet use case. This causes errors in some bridges because the object returned form the utility method may not be the same as the one injected as the viewRoot by the bridge.

      The fix is to mimic the RI (Mojarra) to call newInstance on the root returned from the application.

      Attachments

        1. trinidad-1886.1.2.12.3-branch.patch
          1 kB
          Nathan Hokanson
        2. trinidad-1886.trunk.patch
          1 kB
          Nathan Hokanson

        Activity

          People

            darkarena Scott O'Bryan
            nhokanson.apache Nathan Hokanson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: