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

Felix Meschberger resolved FELIX-2519.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 982591 by thrown a ComponentException if any of the activate, 
deactivate, modified, or configuration-policy attributes is declared in a DS 
1.0 descriptor.

> Declarative Services 1.0 descriptors must fail to validate if 1.1 attributes 
> are declared
> -----------------------------------------------------------------------------------------
>
>                 Key: FELIX-2519
>                 URL: https://issues.apache.org/jira/browse/FELIX-2519
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR), Specification compliance
>    Affects Versions:  scr-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  scr-1.4.2
>
>
> The Declarative Services specification 1.1 defines a number of new attributes 
> for the component element: activate, deactivate, modified, and 
> configuration-policy. These attributes are not allowed for 1.0 descriptors 
> and validation should thus fail.
> Currently our implementation just logs the declaration of these attributes 
> with the LogService but does not fail validation. This should be changed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to