You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2014/02/20 20:05:20 UTC

[jira] [Created] (MYFACES-3860) UIViewRoot.restoreViewScopeState(...) is not being called from DefaultFaceletsStateManagementStrategy

Leonardo Uribe created MYFACES-3860:
---------------------------------------

             Summary: UIViewRoot.restoreViewScopeState(...) is not being called from DefaultFaceletsStateManagementStrategy
                 Key: MYFACES-3860
                 URL: https://issues.apache.org/jira/browse/MYFACES-3860
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-344
    Affects Versions: 2.2.0
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


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.getId());

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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)