You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org> on 2011/09/30 16:35:45 UTC
[jira] [Resolved] (MYFACES-3332) Fix condition to call
ComponentSupport.markComponentToRestoreFully on 2.1.x branch
[ https://issues.apache.org/jira/browse/MYFACES-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-3332.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.4
> Fix condition to call ComponentSupport.markComponentToRestoreFully on 2.1.x branch
> ----------------------------------------------------------------------------------
>
> Key: MYFACES-3332
> URL: https://issues.apache.org/jira/browse/MYFACES-3332
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Fix For: 2.1.4
>
>
> Since JSF 2.1, after the view is built an addtional iteration to call markInitialState is done.
> The condition to call ComponentSupport.markComponentToRestoreFully relies on that value, but instead we should use this condition:
> fcc.isRefreshTransientBuildOnPSS() && !fcc.isRefreshingTransientBuild()
> If no refreshing is done we are creating a new view, just like markInitialState. The effect is the view is not refreshed automatically in "auto" mode. It has been reported earlier, but checking the patch done on MYFACES-3329 I realized this condition is not working as expected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira