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 E298AF2CD for ; Tue, 30 Apr 2013 17:48:16 +0000 (UTC) Received: (qmail 30501 invoked by uid 500); 30 Apr 2013 17:48:16 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 30380 invoked by uid 500); 30 Apr 2013 17:48:16 -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 30275 invoked by uid 99); 30 Apr 2013 17:48:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 17:48:16 +0000 Date: Tue, 30 Apr 2013 17:48:16 +0000 (UTC) From: "Jing Wu (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (TRINIDAD-2380) Collection Component's internal state is not initialized properly in some cases. 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/TRINIDAD-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Wu updated TRINIDAD-2380: ------------------------------ Status: Patch Available (was: Open) > Collection Component's internal state is not initialized properly in some cases. > -------------------------------------------------------------------------------- > > Key: TRINIDAD-2380 > URL: https://issues.apache.org/jira/browse/TRINIDAD-2380 > Project: MyFaces Trinidad > Issue Type: Bug > Components: Components > Affects Versions: 2.0.1-core > Environment: generic issue, environment independent. > Reporter: Jing Wu > Attachments: JIRA-2380-main.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > UIXCollection's internal state sometimes is not initialized properly. This could happen is backing bean calls UIXTable.getSelectedRowKey() at the time table is just initialized. Calling UIXTable.getSelectedRowKey() will force table to flush its model, i.e. make sure internal state cached model is up to date. So this will setup internal state's model reference, but not other variables, causing silent functional failure later on. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira