Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3860

UIViewRoot.restoreViewScopeState(...) is not being called from DefaultFaceletsStateManagementStrategy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.1
    • JSR-344
    • None

    Description

      Checking some examples I have found a typo error in DefaultFaceletsStateManagementStrategy line 319:

      Object viewRootState = states.get(view.getViewId());

      It should be like this:

      Object viewRootState = states.get(view.getClientId(context));

      The effect is build view time tags like c:forEach and c:if that uses view scope beans does not work as expected.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: