Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3338

Context is not updated on include request

XMLWordPrintable

      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.

        Acceptance criteria

              tmattsson Tobias Mattsson
              tmattsson Tobias Mattsson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD