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

Don't create a new connection for fragment requests

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Time Tracking

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