Context is not updated on include request
-----------------------------------------

                 Key: MAGNOLIA-3338
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3338
             Project: Magnolia
          Issue Type: Bug
          Components: core, templating
    Affects Versions: 4.3.7
            Reporter: Tobias Mattsson
            Assignee: Tobias Mattsson


The magnolia filter chain is not executed on includes, therefor any wrappers 
that appear at the front of the request wrapper chain is not set using 
WebContext.push().

This means that when processing an include to a JSP that does an include of its 
own, using the request on the top of the request stack in WebContext, the 
include happens on the wrong wrapper.

A suitable test case for this would be a module with pages that return the word 
ERROR if they detect that the request wrapper stack in WebContext is not in 
sync. An integration test suite could then access these pages and test for the 
word ERROR.

This needs to be tested in all supported servlet containers / application 
servers.

See http://wiki.magnolia-cms.com/display/DEV/How+servlet+request+wrapping+works 
for more details.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to