Leonardo Uribe created MYFACES-3758: ---------------------------------------
Summary: 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 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