Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A2883200B54 for ; Thu, 14 Jul 2016 03:42:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A1449160A6E; Thu, 14 Jul 2016 01:42:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E6AE8160A6A for ; Thu, 14 Jul 2016 03:42:21 +0200 (CEST) Received: (qmail 94815 invoked by uid 500); 14 Jul 2016 01:42:21 -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 94805 invoked by uid 99); 14 Jul 2016 01:42:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2016 01:42:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A5EC62C027F for ; Thu, 14 Jul 2016 01:42:20 +0000 (UTC) Date: Thu, 14 Jul 2016 01:42:20 +0000 (UTC) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (MYFACES-4048) TransientStateHolder values must be stored in the state if current phase is before render response MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 14 Jul 2016 01:42:22 -0000 [ https://issues.apache.org/jira/browse/MYFACES-4048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe resolved MYFACES-4048. ------------------------------------- Resolution: Fixed Fix Version/s: 2.2.11 > TransientStateHolder values must be stored in the state if current phase is before render response > -------------------------------------------------------------------------------------------------- > > Key: MYFACES-4048 > URL: https://issues.apache.org/jira/browse/MYFACES-4048 > Project: MyFaces Core > Issue Type: Bug > Reporter: Leonardo Uribe > Assignee: Leonardo Uribe > Priority: Minor > Fix For: 2.2.11 > > > In JSF 2.1, it was introduced an interface called TransientStateHolder. According to the javadoc, the idea of this API is: > "... This interface is implemented by classes that need to save state that is expected to be available only within the scope of the current request. ..." > This API is used in very, very few cases (only used once in JSF 2.2 core to hold FaceletState temporally), but in portlet case, it is expected that when you call saveState(...) over the component on a phase different than render response phase, this transient state should be saved with the component state too. > This behavior was not originally thought (because in the JSF EG we never went that far to consider portlets) but it has a lot of sense, and in the "spirit" to make things just work, I think we need a new issue for this behavior too. -- This message was sent by Atlassian JIRA (v6.3.4#6332)