Martin Kočí created MYFACES-3891:
------------------------------------

             Summary: Don't write flash-scoped variables in ErrorPageWriter 
when FLASH_SCOPE_DISABLED=true
                 Key: MYFACES-3891
                 URL: https://issues.apache.org/jira/browse/MYFACES-3891
             Project: MyFaces Core
          Issue Type: Bug
            Reporter: Martin Kočí
            Priority: Trivial


1) in web.xml
<context-param>
    <param-name>org.apache.myfaces.FLASH_SCOPE_DISABLED</param-name>
    <param-value>true</param-value>
  </context-param>

2) ui:debug in .xhtml

leads to: 

throw new FlashScopeDisabledException("Flash scope was disabled by context 
param " 
                + FLASH_SCOPE_DISABLED_PARAM + " but erroneously accessed");

the cause : ErrorPageWriter._writeVariables writes always the variables, 
regardless of FLASH_SCOPE_DISABLED



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to