[ http://issues.apache.org/jira/browse/MYFACES-517?page=all ] Martin Marinschek closed MYFACES-517: -------------------------------------
Fix Version: Nightly Build Resolution: Invalid Assign To: Martin Marinschek > /WEB-INF/faces-config.xml parsed twice > -------------------------------------- > > Key: MYFACES-517 > URL: http://issues.apache.org/jira/browse/MYFACES-517 > Project: MyFaces > Type: Bug > Components: Implementation > Versions: 1.0.9m9 > Reporter: Holger Schimanski > Assignee: Martin Marinschek > Fix For: Nightly Build > > If the config file is named faces-config.xml and it is configured web.xml > <context-param> > <param-name>javax.faces.CONFIG_FILES</param-name> > <param-value>/WEB-INF/faces-config.xml</param-value> > </context-param> > it is parsed twice by org.apache.myfaces.config.FacesConfigurator -- once in > feedWebAppConfig() and once again in feedContextSpecifiedConfig(). > The result is, that for example configured PhaseListeners are instantiated > twice and both called during lifecycle. > feedContextSpecifiedConfig() should skip /WEB-INF/faces-config.xml, because > this is read in by feedWebAppConfig(). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira