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

StateManagerImpl is not fully compatible with JSR-301

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.1-core
    • 1.2.3-core, 1.2.7-core
    • Portlet
    • None
    • JSR-168, JSR-301

    Description

      StateManagerImpl has a performance enhancement that is not compatible with JSR-301. Inside of the popRoot method inside of org.apache.myfaces.trinidadinternal.application.StateManagerImpl, the view root is retrieved using Application.createComponent();. The JSR-301 bridge has a special UIViewRoot that, due to limitations in the JSF specification, can only reasonably be retrieved through ViewHandler.createViewRoot(). We either need to try to try to retrieve the UIViewRoot using this mechanism OR we need to disable this performance optimization in a portal environment.

      Attachments

        1. trinidad-134.patch
          2 kB
          Scott O'Bryan

        Activity

          People

            darkarena Scott O'Bryan
            darkarena Scott O'Bryan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: