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

MyFaces fails to recognize ViewDeclarationLanguageFactory when defined in META-INF/services -- throws IllegalStateException instead

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3
    • 2.0.4
    • JSR-314
    • None

    Description

      Spec says a factory can be declared by including a META-INF/services file with the name of the javax.faces factory class (in this case java.faces.view.ViewDeclarationLanguageFactory ) with its contents containing a single line containing the name of the class that implements this factory. The MyFaces startup/read config code throws an IllegalStateException however in this case. Looks like the code wasn't updated to reflect the new 2.0 Factory.

      Use case – Portlet Bridge currently uses this methodology and hence doesn't run on MyFaces.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            mike_freedman Michael Freedman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: