[
https://issues.apache.org/jira/browse/MYFACES-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015211#comment-17015211
]
Paul Nicolucci commented on MYFACES-4317:
-----------------------------------------
I'll be working to release 2.2.13 soon.
> FaceletViewDeclarationLanguage creates a server session even on a Stateless
> view
> --------------------------------------------------------------------------------
>
> Key: MYFACES-4317
> URL: https://issues.apache.org/jira/browse/MYFACES-4317
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.2.12
> Environment: Apache TomEE 7.0.6
> Reporter: Jonathan S Fisher
> Priority: Major
>
> FaceletViewDeclarationLanguage creates a server session even on a Stateless
> view.
> The bug appears in this function
> {code:java}
> protected String getResponseEncoding(FacesContext context, String orig)
> {
> String encoding = orig;
> // see if we need to override the encoding
> Map<Object, Object> m = context.getAttributes();
> Map<String, Object> sm = context.getExternalContext().getSessionMap();
> {code}
> It looks like the intention was to _not_ create the session but not writing
> to it, however
> {code:java}
> ExternalContext.getSessionMap() {code}
> will force it's creation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)