[ 
https://issues.apache.org/jira/browse/SLING-9500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dirk Rudolph updated SLING-9500:
--------------------------------
    Fix Version/s: Servlet Helpers 1.3.2

> 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
>            Assignee: Dirk Rudolph
>            Priority: Major
>             Fix For: Servlet Helpers 1.3.2
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to