You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2013/06/13 14:09:20 UTC

[jira] [Resolved] (SLING-2918) I18NFilter ignores RequestLocaleResolver with higher ranking

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

Felix Meschberger resolved SLING-2918.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: i18n 2.2.6
         Assignee: Felix Meschberger

Fixed in Rev. 1492635 by declaring the references to the [Request]LocaleFilter services to be greedy instead if reluctant (which is the default).
                
> I18NFilter ignores RequestLocaleResolver with higher ranking
> ------------------------------------------------------------
>
>                 Key: SLING-2918
>                 URL: https://issues.apache.org/jira/browse/SLING-2918
>             Project: Sling
>          Issue Type: Improvement
>    Affects Versions: i18n 2.2.4
>         Environment: Granite
>            Reporter: Joel Richard
>            Assignee: Felix Meschberger
>             Fix For: i18n 2.2.6
>
>
> The I18NFilter currently takes the first [Request]LocaleResolver service available to off-load extraction of the Locale(s) during request processing.
> Considering some deployment has a default service installed which should be superceded by a different implementation on a customized deployment, it would be nice to be able to replace the existing service with the different implementation leveraging the service.ranking functionality.
> To enable replacement of a service by service.ranking, the DS reference must be declared with the "greed" policy option.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira