Dirk Rudolph created SLING-9500:
-----------------------------------
Summary: Support javax.servlet.ServletRequest#getLocales in
servlet-helpers
Key: SLING-9500
URL: https://issues.apache.org/jira/browse/SLING-9500
Project: Sling
Issue Type: Improvement
Components: Servlets
Affects Versions: Servlet Helpers 1.3.0
Reporter: Dirk Rudolph
The Apache Sling I18n DefaultLocaleResolver used in the i18n filter uses
getLocales() to obtain the locales associated with the request [1]. When using
MockSlingHttpServletRequest with the SlingRequestProcessor and having the i18n
Filter in the filter chain this will cause the mock request to fail.
[1]
[https://github.com/apache/sling-org-apache-sling-i18n/blob/master/src/main/java/org/apache/sling/i18n/DefaultLocaleResolver.java#L51]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)