Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 81529 invoked from network); 19 Jan 2010 01:19:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2010 01:19:18 -0000 Received: (qmail 66040 invoked by uid 500); 19 Jan 2010 01:19:17 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 65974 invoked by uid 500); 19 Jan 2010 01:19:17 -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 65966 invoked by uid 99); 19 Jan 2010 01:19:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 01:19:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2010 01:19:15 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 65893234C1F1 for ; Mon, 18 Jan 2010 17:18:54 -0800 (PST) Message-ID: <1829748770.324721263863934414.JavaMail.jira@brutus.apache.org> Date: Tue, 19 Jan 2010 01:18:54 +0000 (UTC) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Resolved: (MYFACES-2494) Component branches saved with PSS needs to be wrapped In-Reply-To: <1333922653.324301263863214387.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-2494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe resolved MYFACES-2494. ------------------------------------- Resolution: Fixed Fix Version/s: 2.0.0-alpha-2 > Component branches saved with PSS needs to be wrapped > ----------------------------------------------------- > > Key: MYFACES-2494 > URL: https://issues.apache.org/jira/browse/MYFACES-2494 > Project: MyFaces Core > Issue Type: Task > Components: JSR-314 > Affects Versions: 2.0.0-alpha > Reporter: Leonardo Uribe > Assignee: Leonardo Uribe > Fix For: 2.0.0-alpha-2 > > > When the tree is built and a component that is on that tree is removed and added, when a postback occur it is not restored, because the algorithm are not detecting this case. > The easiest solution is wrap all saved branches on a class like AttachedFullStateWrapper, so when we restore, we can cast to check if we restore only the component or the full branch instead. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.