Volodymyr Siedlecki created MYFACES-4709:
--------------------------------------------

             Summary: Faces Initialization for Apps Containing the FacesConfig 
Annotation
                 Key: MYFACES-4709
                 URL: https://issues.apache.org/jira/browse/MYFACES-4709
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 4.1.0, 4.0.0
            Reporter: Volodymyr Siedlecki


This problem was originally identified in 
https://github.com/OpenLiberty/open-liberty/issues/27496.

In a nutshell, the user found a difference between Wildfly (Mojarra) and Open 
Liberty (MyFaces) with the same application.  This application doesn’t contain 
explicit mappings to the Faces Servlet, but relies on Faces Initialization 
automatically. This is accomplished by the @FacesConfig contained within their 
app.  With Mojarra, the @FacesConfig is identifies and initialization proceeds. 
 In MyFaces, the annotation isn’t discovered, so Faces doesn’t work. Instead, 
the user ends up with an error retrieving the index.jsf page.

Would we update our Impl?   The FacesConfig would need to be added to list of 
HandlesTypes classes here:

https://github.com/apache/myfaces/blob/dd2b48bac65eddfb4f8e1773aaed50db586f7c0b/impl/src/main/java/org/apache/myfaces/webapp/MyFacesContainerInitializer.java#L71



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to