[ 
https://issues.apache.org/jira/browse/MYFACES-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Nicolucci resolved MYFACES-4559.
-------------------------------------
    Resolution: Fixed

> JsfArtifactProducer(2.3/3.0/2.3-next) and FacesArtifactProducter(4.0) are 
> incorrect for application implicit object
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-4559
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4559
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.3.10, 2.3-next-M7, 3.0.2, 4.0.0-RC4
>            Reporter: Paul Nicolucci
>            Assignee: Paul Nicolucci
>            Priority: Major
>             Fix For: 2.3.11, 3.0.3, 2.3-next-M8, 4.0.0-RC5
>
>
> 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|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|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|https://github.com/apache/myfaces/blob/main/impl/src/main/java/org/apache/myfaces/el/resolver/implicitobject/ApplicationImplicitObject.java#L42]
>  does.
> The spec is clear here as well: 
> [https://jakarta.ee/specifications/faces/4.0/jakarta-faces-4.0.html#a2830|https://jakarta.ee/specifications/faces/4.0/jakarta-faces-4.0.html#a2830]



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

Reply via email to