/WEB-INF/faces-config.xml Loaded twice if logging disabled.
-----------------------------------------------------------

                 Key: MYFACES-1883
                 URL: https://issues.apache.org/jira/browse/MYFACES-1883
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 1.2.3, 1.2.2
            Reporter: David Waters
            Priority: Critical



Bug introduced in FacesConfigurator Version 580395 by mmarinschek 28/Sep/07
While working on MYFACES-1689  mmarinschek introduced an action based on a 
check if the provided value was the default and not load this file if it was. 
Unfortunitly this was reusing an existing check that also check to see if 
log.isWarnEnbaled, so the code will behavoe materilly differently if logging is 
enabled.
  
see FacesConfigurator.getConfigFilesList()

WARN  FacesConfigurator - /WEB-INF/faces-config.xml has been specified in the 
javax.faces.CONFIG_FILES context parameter of the deployment descriptor. This 
will automatically be removed, if we wouldn't do this, it would be loaded 
twice.  See JSF spec 1.1, 10.3.2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to