Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1883

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.2.2, 1.2.3
    • 1.1.6
    • General
    • None

    Description

      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

      Attachments

        1. MYFACES-1183.patch
          1 kB
          David Waters

        Activity

          People

            lu4242 Leonardo Uribe
            dwat001 David Waters
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: