Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8804

Mock SlingHttpServletRequest should follow same caching as SlingHttpServletRequest

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Servlet Helpers 1.2.0
    • Fix Version/s: Servlet Helpers 1.3.0
    • Component/s: None
    • Labels:

      Description

      The Sling Engine it is one of the few places which does not extend SlingAdaptable and thus does not cache the results. however, the mock implementation of SlingHttpServletRequest used in the mocks extends from SlingAdaptable an thus does the caching.

      It would be good to remove this caching from the mocked SlingHttpServletRequest to be as close to Sling as possible.

      Issue original reported via: https://wcm-io.atlassian.net/browse/WTES-46

       

        Attachments

          Activity

            People

            • Assignee:
              sseifert Stefan Seifert
              Reporter:
              empire29 David Gonzalez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: