Uploaded image for project: 'SiteMesh'
  1. SiteMesh
  2. MSITEMESH-13

Don't create a new connection for fragment requests

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1
    • None
    • None
    • Yes
    • Yes
    • Kromeriz 68
    • 5

      Currently we create a new connection for each fragment request.

      1. Make use of info.magnolia.sitemesh.webapp.MagnoliaWebAppContext#decorate
        -It looks like the connection is closed by tomcat after the first forward, making other fragments on the page to fail (reproducible with the integration test crawler).-
        --Use WebContext.include() instead.-
      2. Make sure the cache, variant resolver and model execution filters (all once per request filters) are triggered despite the fact that the forward is still the same request as original target.

        Acceptance criteria

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 0.25d
                    0.25d