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.