You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stephen Flynn (JIRA)" <ji...@apache.org> on 2011/02/04 16:42:28 UTC

[jira] Created: (FELIX-2824) Components that have a ConfigurationPolicy value of REQUIRE fail to activate

Components that have a ConfigurationPolicy value of REQUIRE fail to activate
----------------------------------------------------------------------------

                 Key: FELIX-2824
                 URL: https://issues.apache.org/jira/browse/FELIX-2824
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions: scr-1.6.2
         Environment: Felix 3.0.6
Config admin 1.2.8
            Reporter: Stephen Flynn
             Fix For: scr-1.6.2


Components that have a ConfigurationPolicy value of REQUIRE are no longer configured and activated by configuration admin.

This was working fine in scr-1.6.0 and earlier versions.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FELIX-2824) Components that have a ConfigurationPolicy value of REQUIRE fail to activate

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

Felix Meschberger commented on FELIX-2824:
------------------------------------------

With the refactoring of FELIX-2578 the new configuration support instance is created upon a Service event received from the Configuration Admin service registration. If the ConfigurationAdmin service is already active before the Declarative Services bundle is started, this service event is never received by the DS bundle and thus the configuration support instance is not created.

> Components that have a ConfigurationPolicy value of REQUIRE fail to activate
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-2824
>                 URL: https://issues.apache.org/jira/browse/FELIX-2824
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>         Environment: Felix 3.0.6
> Config admin 1.2.8
>            Reporter: Stephen Flynn
>            Assignee: Felix Meschberger
>             Fix For: scr-1.6.2
>
>         Attachments: policy-required-bug-example-1.0.0-sources.jar, policy-required-bug-example-1.0.0.jar
>
>
> Components that have a ConfigurationPolicy value of REQUIRE are no longer configured and activated by configuration admin.
> This was working fine in scr-1.6.0 and earlier versions.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FELIX-2824) Components that have a ConfigurationPolicy value of REQUIRE fail to activate

Posted by "Stephen Flynn (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990620#comment-12990620 ] 

Stephen Flynn commented on FELIX-2824:
--------------------------------------

Attached bundle should demonstrate the issue. SCR-1.6.0 activates 2 components as expected, not so with current SCR-1.6.2 snapshot.

> Components that have a ConfigurationPolicy value of REQUIRE fail to activate
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-2824
>                 URL: https://issues.apache.org/jira/browse/FELIX-2824
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>         Environment: Felix 3.0.6
> Config admin 1.2.8
>            Reporter: Stephen Flynn
>             Fix For: scr-1.6.2
>
>         Attachments: policy-required-bug-example-1.0.0-sources.jar, policy-required-bug-example-1.0.0.jar
>
>
> Components that have a ConfigurationPolicy value of REQUIRE are no longer configured and activated by configuration admin.
> This was working fine in scr-1.6.0 and earlier versions.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (FELIX-2824) Components that have a ConfigurationPolicy value of REQUIRE fail to activate

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

Felix Meschberger resolved FELIX-2824.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 1067309 by setting up the configuration support instance in case the configuration admin service is already registered when declarative services starts

> Components that have a ConfigurationPolicy value of REQUIRE fail to activate
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-2824
>                 URL: https://issues.apache.org/jira/browse/FELIX-2824
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>         Environment: Felix 3.0.6
> Config admin 1.2.8
>            Reporter: Stephen Flynn
>            Assignee: Felix Meschberger
>             Fix For: scr-1.6.2
>
>         Attachments: policy-required-bug-example-1.0.0-sources.jar, policy-required-bug-example-1.0.0.jar
>
>
> Components that have a ConfigurationPolicy value of REQUIRE are no longer configured and activated by configuration admin.
> This was working fine in scr-1.6.0 and earlier versions.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (FELIX-2824) Components that have a ConfigurationPolicy value of REQUIRE fail to activate

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

Felix Meschberger closed FELIX-2824.
------------------------------------


Close after release
                
> Components that have a ConfigurationPolicy value of REQUIRE fail to activate
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-2824
>                 URL: https://issues.apache.org/jira/browse/FELIX-2824
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>         Environment: Felix 3.0.6
> Config admin 1.2.8
>            Reporter: Stephen Flynn
>            Assignee: Felix Meschberger
>             Fix For: scr-1.6.2
>
>         Attachments: policy-required-bug-example-1.0.0.jar, policy-required-bug-example-1.0.0-sources.jar
>
>
> Components that have a ConfigurationPolicy value of REQUIRE are no longer configured and activated by configuration admin.
> This was working fine in scr-1.6.0 and earlier versions.

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

[jira] Assigned: (FELIX-2824) Components that have a ConfigurationPolicy value of REQUIRE fail to activate

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

Felix Meschberger reassigned FELIX-2824:
----------------------------------------

    Assignee: Felix Meschberger

> Components that have a ConfigurationPolicy value of REQUIRE fail to activate
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-2824
>                 URL: https://issues.apache.org/jira/browse/FELIX-2824
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>         Environment: Felix 3.0.6
> Config admin 1.2.8
>            Reporter: Stephen Flynn
>            Assignee: Felix Meschberger
>             Fix For: scr-1.6.2
>
>         Attachments: policy-required-bug-example-1.0.0-sources.jar, policy-required-bug-example-1.0.0.jar
>
>
> Components that have a ConfigurationPolicy value of REQUIRE are no longer configured and activated by configuration admin.
> This was working fine in scr-1.6.0 and earlier versions.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (FELIX-2824) Components that have a ConfigurationPolicy value of REQUIRE fail to activate

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

Stephen Flynn updated FELIX-2824:
---------------------------------

    Attachment: policy-required-bug-example-1.0.0-sources.jar
                policy-required-bug-example-1.0.0.jar

> Components that have a ConfigurationPolicy value of REQUIRE fail to activate
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-2824
>                 URL: https://issues.apache.org/jira/browse/FELIX-2824
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>         Environment: Felix 3.0.6
> Config admin 1.2.8
>            Reporter: Stephen Flynn
>             Fix For: scr-1.6.2
>
>         Attachments: policy-required-bug-example-1.0.0-sources.jar, policy-required-bug-example-1.0.0.jar
>
>
> Components that have a ConfigurationPolicy value of REQUIRE are no longer configured and activated by configuration admin.
> This was working fine in scr-1.6.0 and earlier versions.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FELIX-2824) Components that have a ConfigurationPolicy value of REQUIRE fail to activate

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

Felix Meschberger commented on FELIX-2824:
------------------------------------------

Thanks for testing trunk and reporting the bug. I will look into it.

> Components that have a ConfigurationPolicy value of REQUIRE fail to activate
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-2824
>                 URL: https://issues.apache.org/jira/browse/FELIX-2824
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.6.2
>         Environment: Felix 3.0.6
> Config admin 1.2.8
>            Reporter: Stephen Flynn
>             Fix For: scr-1.6.2
>
>         Attachments: policy-required-bug-example-1.0.0-sources.jar, policy-required-bug-example-1.0.0.jar
>
>
> Components that have a ConfigurationPolicy value of REQUIRE are no longer configured and activated by configuration admin.
> This was working fine in scr-1.6.0 and earlier versions.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira