javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1274

In ViewMetadata.createMetadataView() clarify state for temporary UIViewRoot

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.1, 2.2
    • Fix Version/s: 2.3
    • Component/s: Facelets/VDL
    • Labels:
      None

      Description

      In ViewMetadata.createMetadataView(), specify

      • the new UIViewRoot must be set as the FacesContext's viewRoot before applying the tag handlers, restoring
        the old FacesContext in a finally block.
      • The content's of the current UIViewRoot's ViewMap must be copied to the ViewMap of the new UIViewRoot
        before applying the tag handlers.

        Issue Links

          Activity

          Ed Burns created issue -
          Ed Burns made changes -
          Field Original Value New Value
          Link This issue is related to JAVASERVERFACES-3205 [ JAVASERVERFACES-3205 ]
          Hide
          Ed Burns added a comment -

          Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          Show
          Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
          Ed Burns made changes -
          Priority Trivial [ 5 ] Minor [ 4 ]
          Manfred Riem made changes -
          Priority Minor [ 4 ] Critical [ 2 ]
          Manfred Riem made changes -
          Attachment changebundle.txt [ 55167 ]
          Hide
          Manfred Riem added a comment -

          Applied to 2.3 trunk,

          svn commit -m "Fixes https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1274, In ViewMetadata.createMetadataView() clarify state for temporary UIViewRoot"
          Sending jsf-api/src/main/java/javax/faces/view/ViewMetadata.java
          Transmitting file data .
          Committed revision 15005.

          Show
          Manfred Riem added a comment - Applied to 2.3 trunk, svn commit -m "Fixes https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1274 , In ViewMetadata.createMetadataView() clarify state for temporary UIViewRoot" Sending jsf-api/src/main/java/javax/faces/view/ViewMetadata.java Transmitting file data . Committed revision 15005.
          Manfred Riem made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Manfred Riem [ mriem ]
          Fix Version/s 2.3 [ 16372 ]
          Resolution Fixed [ 1 ]
          Manfred Riem made changes -

            People

            • Assignee:
              Manfred Riem
              Reporter:
              Ed Burns
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: