[
https://issues.apache.org/jira/browse/SLING-8804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert resolved SLING-8804.
-----------------------------------
Fix Version/s: Servlet Helpers 1.2.2
Assignee: Stefan Seifert
Resolution: Fixed
fixed for SlingHttpServletRequest and SlingHttpServletResponse
https://github.com/apache/sling-org-apache-sling-servlet-helpers/commit/172e86751cee2170b21fed2110602ec36657c8d7
> Mock SlingHttpServletRequest should follow same caching as
> SlingHttpServletRequest
> ----------------------------------------------------------------------------------
>
> Key: SLING-8804
> URL: https://issues.apache.org/jira/browse/SLING-8804
> Project: Sling
> Issue Type: Improvement
> Affects Versions: Servlet Helpers 1.2.0
> Reporter: David Gonzalez
> Assignee: Stefan Seifert
> Priority: Major
> Labels: test
> Fix For: Servlet Helpers 1.2.2
>
>
> 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]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)