[ 
https://issues.apache.org/jira/browse/SLING-3954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264758#comment-14264758
 ] 

Carsten Ziegeler commented on SLING-3954:
-----------------------------------------

I've started the release vote for the scr annotations

> i18n filter still not called for error scripts
> ----------------------------------------------
>
>                 Key: SLING-3954
>                 URL: https://issues.apache.org/jira/browse/SLING-3954
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: i18n 2.2.6, i18n 2.2.8, i18n 2.2.10
>            Reporter: Konrad Windszus
>             Fix For: i18n 2.2.12
>
>
> Although this is fixed in the annotation in SLING-2705, the annotation is not 
> correctly considered when the service xml is being generated. All versions 
> 2.2.6, 2.2.8 and 2.2.10 are affected. 
> The OSGI-INF/org.apache.sling.i18n.impl.I18NFilter.xml looks like this in all 
> three versions
> {code}
> <?xml version="1.0" encoding="UTF-8"?><components 
> xmlns:scr="http://www.osgi.org/xmlns/scr/v1.2.0";>
>     <scr:component name="org.apache.sling.i18n.impl.I18NFilter">
>         <implementation class="org.apache.sling.i18n.impl.I18NFilter"/>
>         <service servicefactory="false">
>             <provide interface="javax.servlet.Filter"/>
>         </service>
>         <property name="service.ranking" type="Integer" value="-700"/>
>         <property name="sling.filter.scope" value="REQUEST"/>
>         <property name="pattern" value="/.*"/>
>         <property name="service.description" value="Internationalization 
> Support Filter"/>
>         <property name="service.vendor" value="The Apache Software 
> Foundation"/>
>         <property name="service.pid" 
> value="org.apache.sling.i18n.impl.I18NFilter"/>
>         <reference name="localeResolver" 
> interface="org.apache.sling.i18n.LocaleResolver" cardinality="0..1" 
> policy="dynamic" bind="bindLocaleResolver" unbind="unbindLocaleResolver" 
> policy-option="greedy"/>
>         <reference name="requestLocaleResolver" 
> interface="org.apache.sling.i18n.RequestLocaleResolver" cardinality="0..1" 
> policy="dynamic" bind="bindRequestLocaleResolver" 
> unbind="unbindRequestLocaleResolver" policy-option="greedy"/>
>         <reference name="resourceBundleProvider" 
> interface="org.apache.sling.i18n.ResourceBundleProvider" cardinality="0..n" 
> policy="dynamic" bind="bindResourceBundleProvider" 
> unbind="unbindResourceBundleProvider"/>
>     </scr:component>
> </components>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to