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

I18NFilter is executed too often per request

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • i18n 2.5.0
    • None
    • i18n
    • None

    Description

      With SLING-5940 the I18NFilter is registered as Filter with the OSGi HTTP whiteboard but still in addition as Sling Filter (compare with https://github.com/apache/sling-org-apache-sling-i18n/commit/f770fe132ce0cbdab3cae980ac01298bb7baf10d).
      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.

      Carsten Ziegeler Do we still need to register this filter as Sling filter or is HTTP Whiteboard sufficient. I am not sure though about the "ERROR" scope.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            kwin Konrad Windszus

            Dates

              Created:
              Updated:

              Slack

                Issue deployment