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

Carsten Ziegeler commented on FELIX-4686:
-----------------------------------------

I still think this is a little bit strange as we put a pun on components using 
new stuff.
So, as we have the felix-namespace, we *could* remove the ds.factory.enabled 
flag - now, my problem is actually not that we have old components, but we have 
running installations where the flag is set and as soon as I update the DS 
implementation I can't use 1.3 stuff unless I remove the ds.factory.enabled 
property - which in my case is not that easy

> If component is declared with 1.3 NS and ds.factory.enabled = true, 
> validation error occors
> -------------------------------------------------------------------------------------------
>
>                 Key: FELIX-4686
>                 URL: https://issues.apache.org/jira/browse/FELIX-4686
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: scr-2.0.0
>
>
> For example the following component xml leads to a validation error:
> "Configuration of component factory instances through config admin factory 
> pids supported only through the 1.2 namespace"
> <components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0";>
>     <scr:component name="org.apache.sling.sample.slingshot.impl.SetupService" 
> activate="activate" deactivate="deactivate">
>         <implementation 
> class="org.apache.sling.sample.slingshot.impl.SetupService"/>
>         <property name="service.vendor" value="The Apache Software 
> Foundation"/>
>         <property name="service.pid" 
> value="org.apache.sling.sample.slingshot.impl.SetupService"/>
>     </scr:component>
> </components>



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

Reply via email to