Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.10, 2.3-next-M7, 3.0.2, 4.0.0-RC4
-
None
Description
JsfArtifactProducer for the application implicit object: https://github.com/apache/myfaces/blob/2.3.x/impl/src/main/java/org/apache/myfaces/cdi/JsfArtifactProducer.java#L51
FacesArtifactProducer for the application implicit object: https://github.com/apache/myfaces/blob/main/impl/src/main/java/org/apache/myfaces/cdi/FacesArtifactProducer.java#L60
These should not be returning the Application object but rather the ExternalContext.getContext() which is what the ApplicationImplicitObject does.
The spec is clear here as well: https://jakarta.ee/specifications/faces/4.0/jakarta-faces-4.0.html#a2830