Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E61D9108F0 for ; Mon, 7 Oct 2013 08:56:54 +0000 (UTC) Received: (qmail 82710 invoked by uid 500); 7 Oct 2013 08:56:46 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 82677 invoked by uid 500); 7 Oct 2013 08:56:44 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 82637 invoked by uid 99); 7 Oct 2013 08:56:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Oct 2013 08:56:42 +0000 Date: Mon, 7 Oct 2013 08:56:42 +0000 (UTC) From: "Gerhard Petracek (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (MYFACES-3798) protected-view handling is broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-3798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek resolved MYFACES-3798. --------------------------------------- Resolution: Not A Problem agreed. i had to check a 3rd party code + a test which showed the issue. however, the real issue is in the 3rd party code (a quite hidden and dirty reassignment of _protectedViewsSet via reflection). > 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)