You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2019/01/25 10:25:00 UTC

[jira] [Created] (SLING-8239) SlingI18nFilter is executed too often per request

Konrad Windszus created SLING-8239:
--------------------------------------

             Summary: SlingI18nFilter is executed too often per request
                 Key: SLING-8239
                 URL: https://issues.apache.org/jira/browse/SLING-8239
             Project: Sling
          Issue Type: Improvement
          Components: i18n
    Affects Versions: i18n 2.5.0
            Reporter: Konrad Windszus


With SLING-5940 the SlingI18nFilter is now registered as Filter with the OSGi HTTP whiteboard but still in addition as Sling Filter.
That leads to the fact that the filter is being called at least twice for a very simple request. Once first via the OSGi HTTP Whiteboard and then from the Sling Main Servlet as Sling-specific REQUEST filter.

[~cziegeler] Do we still need to register this filter as Sling filter or is HTTP Whiteboard sufficient. I am no sure though about the "ERROR" scope.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)