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 (JIRA)" <de...@myfaces.apache.org> on 2013/08/29 02:19:52 UTC
[jira] [Resolved] (MYFACES-3758) Check for responseComplete or
renderResponse only if a phase listeners is used
[ https://issues.apache.org/jira/browse/MYFACES-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-3758.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
> Check for responseComplete or renderResponse only if a phase listeners is used
> ------------------------------------------------------------------------------
>
> Key: MYFACES-3758
> URL: https://issues.apache.org/jira/browse/MYFACES-3758
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-344
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Priority: Minor
> Fix For: 2.2.0
>
>
> The javadoc of UIViewRoot says this:
> "... Take the following action regarding PhaseListeners.
> ... Initialize a state flag to false. ....
> ... Upon return from the listener, call FacesContext.getResponseComplete() and FacesContext.getRenderResponse(). If either return true set the internal state flag to true. ..."
> Here we have a small misunderstanding. The algorithm always check for responseComplete or renderResponse even if there is no phase listener set or there is no change on the state flag.
> This issue has minor priority, because it does not have any effect in normal situations, but it can be seen in some special tests.
> This affects 2.1 and 2.0 branches, but since it does not change anything it will be fixed only in 2.2.
--
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