[
https://issues.apache.org/jira/browse/MYFACES-4547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Nicolucci reopened MYFACES-4547:
-------------------------------------
> FacesContext.getCurrentInstance().getELContext().getVariableMapper() returns
> null
> ---------------------------------------------------------------------------------
>
> Key: MYFACES-4547
> URL: https://issues.apache.org/jira/browse/MYFACES-4547
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 2.3.10, 2.3-next-M7, 3.0.2, 4.0.0-RC3
> Reporter: Paul Nicolucci
> Assignee: Paul Nicolucci
> Priority: Major
> Fix For: 4.0.0-RC4
>
>
> The
> [FacesELContext|https://github.com/apache/myfaces/blob/main/impl/src/main/java/org/apache/myfaces/el/FacesELContext.java]
> does not have a VariableMapper set.
> I see a
> [DefaultVariableMapper|https://github.com/apache/myfaces/blob/2.2.x/impl/src/main/java/org/apache/myfaces/view/facelets/el/DefaultVariableMapper.java]
> is created in
> [DefaultFaceletContext|https://github.com/apache/myfaces/blob/2.2.x/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultFaceletContext.java#L165].
> This can be solved by doing the following:
> 1) When getVariableMapper is called on FacesELContext, if the _variableMapper
> is null create a DefaultVariableMapper at that point.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)