You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2013/10/06 19:16:43 UTC

[jira] [Created] (MYFACES-3798) protected-view handling is broken

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)