[ 
https://issues.apache.org/jira/browse/MYFACES-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015204#comment-17015204
 ] 

Jonathan S Fisher commented on MYFACES-4317:
--------------------------------------------

Yep, looks like the same thing. That bug is marked as fixed in 2.2.13. 
[https://mvnrepository.com/artifact/org.apache.myfaces.core/myfaces-impl] Has 
that been released?

> 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)

Reply via email to