You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/08/05 10:32:15 UTC

[jira] Created: (FELIX-2519) Declarative Services 1.0 descriptors must fail to validate if 1.1 attributes are declared

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.


[jira] Resolved: (FELIX-2519) Declarative Services 1.0 descriptors must fail to validate if 1.1 attributes are declared

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (FELIX-2519) Declarative Services 1.0 descriptors must fail to validate if 1.1 attributes are declared

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-2519.
------------------------------------


Apache Felix Declarative Services 1.6.0 has been released. The issues are now closed.

> 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.6.0
>
>
> 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.