Gerhard Petracek created MYFACES-3798:
-----------------------------------------

             Summary: protected-view handling is broken
                 Key: MYFACES-3798
                 URL: https://issues.apache.org/jira/browse/MYFACES-3798
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-344
    Affects Versions: 2.2.0
            Reporter: Gerhard Petracek
            Assignee: Leonardo Uribe


the result of ViewHandlerImpl#getProtectedViewsUnmodifiable isn't spec. 
compliant.
addProtectedView and removeProtectedView don't recreate 
_unmodifiableProtectedViewsSet. at the end of both we need:
_unmodifiableProtectedViewsSet = 
Collections.unmodifiableSet(_protectedViewsSet);
or we always return Collections.unmodifiableSet(_protectedViewsSet); in 
ViewHandlerImpl#getProtectedViewsUnmodifiable



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to