[ https://issues.apache.org/jira/browse/MYFACES-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Volodymyr Siedlecki resolved MYFACES-4709. ------------------------------------------ Resolution: Fixed > 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.0.0, 4.1.0 > Reporter: Volodymyr Siedlecki > Priority: Major > Fix For: 5.0.0 > > > 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)