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/06/09 13:47:13 UTC

[jira] Created: (FELIX-2399) Make ScrService lenient against unexpected configuration data types

Make ScrService lenient against unexpected configuration data types
-------------------------------------------------------------------

                 Key: FELIX-2399
                 URL: https://issues.apache.org/jira/browse/FELIX-2399
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions:  scr-1.4.0
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For:  scr-1.4.2


The Declarative services bundle can be configured with Configuration Admin configuration. If so, the configuration is expected to provide the properties in the correct data type, that is Boolean for the ds.factory.enabled property and Integer for the ds.loglevel property. If the data type does not match the expectations, configuration fails.

This should be fixed to support any type and provide sensible handling if the actual type cannot be directly used.

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


[jira] Resolved: (FELIX-2399) Make ScrService lenient against unexpected configuration data types

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

Felix Meschberger resolved FELIX-2399.
--------------------------------------

    Resolution: Fixed

This can be considered fixed.

> Make ScrService lenient against unexpected configuration data types
> -------------------------------------------------------------------
>
>                 Key: FELIX-2399
>                 URL: https://issues.apache.org/jira/browse/FELIX-2399
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  scr-1.4.2
>
>
> The Declarative services bundle can be configured with Configuration Admin configuration. If so, the configuration is expected to provide the properties in the correct data type, that is Boolean for the ds.factory.enabled property and Integer for the ds.loglevel property. If the data type does not match the expectations, configuration fails.
> This should be fixed to support any type and provide sensible handling if the actual type cannot be directly used.

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


[jira] Closed: (FELIX-2399) Make ScrService lenient against unexpected configuration data types

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

Felix Meschberger closed FELIX-2399.
------------------------------------


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

> Make ScrService lenient against unexpected configuration data types
> -------------------------------------------------------------------
>
>                 Key: FELIX-2399
>                 URL: https://issues.apache.org/jira/browse/FELIX-2399
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  scr-1.6.0
>
>
> The Declarative services bundle can be configured with Configuration Admin configuration. If so, the configuration is expected to provide the properties in the correct data type, that is Boolean for the ds.factory.enabled property and Integer for the ds.loglevel property. If the data type does not match the expectations, configuration fails.
> This should be fixed to support any type and provide sensible handling if the actual type cannot be directly used.

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


[jira] Commented: (FELIX-2399) Make ScrService lenient against unexpected configuration data types

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

Felix Meschberger commented on FELIX-2399:
------------------------------------------

Fixed in Rev. 952964

> Make ScrService lenient against unexpected configuration data types
> -------------------------------------------------------------------
>
>                 Key: FELIX-2399
>                 URL: https://issues.apache.org/jira/browse/FELIX-2399
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For:  scr-1.4.2
>
>
> The Declarative services bundle can be configured with Configuration Admin configuration. If so, the configuration is expected to provide the properties in the correct data type, that is Boolean for the ds.factory.enabled property and Integer for the ds.loglevel property. If the data type does not match the expectations, configuration fails.
> This should be fixed to support any type and provide sensible handling if the actual type cannot be directly used.

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