[ 
https://issues.apache.org/jira/browse/FELIX-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123689#comment-13123689
 ] 

Felix Meschberger commented on FELIX-3087:
------------------------------------------

In Rev. 1180605:
* Fix wrong Character/Char type conversion
* add unit tests
* refactor value conversion to do it during validation, which allows to fail 
value conversion on a component-level instead of a descriptor file level
                
> Given invalid value, but the property isn't invalid.
> ----------------------------------------------------
>
>                 Key: FELIX-3087
>                 URL: https://issues.apache.org/jira/browse/FELIX-3087
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions:  scr-1.6.0
>            Reporter: Yasuhiro Kawame
>            Assignee: Felix Meschberger
>
> Given the following XML, the value of the property will be invalid.
> But this property is a valid property, with a value of char 'a'.
> <?xml version="1.0" encoding="UTF-8"?>
>   <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0";>
>     <implementation class="DummyClass" /> 
>     <property name="test.property.Character" type="Character" value="ab" />
>   </scr:component>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to