MyFaces Core
  1. MyFaces Core
  2. MYFACES-1667

META-INF/faces-config.xml loading is done in wrong order

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 2.0.0
    • Component/s: General
    • Labels:
      None

      Description

      Chapter 10.3.2 Application Startup Behavior of the spec says:
      "Search for all resources named "META-INF/faces-config.xml" in the
      ServletContext resource paths for this web application, and load each as a JSF
      configuration resource (in reverse order of the order in which they are returned
      by getResources())."

      FacesConfigurator.feedClassloaderConfigurations does NOT iterate in reverse order.

        Activity

        Hide
        Leonardo Uribe added a comment -

        This statement was changed in JSF 2 to include config ordering rules, so we can close this issue as fixed. Fix it in 1.1 branch could break existing applications, so since right now we are in version 1.1.9 and only maintenance bugs are included, is better to let the code as is.

        Show
        Leonardo Uribe added a comment - This statement was changed in JSF 2 to include config ordering rules, so we can close this issue as fixed. Fix it in 1.1 branch could break existing applications, so since right now we are in version 1.1.9 and only maintenance bugs are included, is better to let the code as is.

          People

          • Assignee:
            Manfred Geiler
            Reporter:
            Manfred Geiler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development