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

angela commented on OAK-380:
----------------------------

i don't have any particular preference... i just think it's odd if the 
conversion is
done halfway and everyone needs to write the same code.

in any case i feel that the oak-api needs to be totally clear about this and 
explain
which conversions are made and which conversions fail and how the legitimate
jcr conversions can be achieved... something along that line...
                
> Define conversion of property values
> ------------------------------------
>
>                 Key: OAK-380
>                 URL: https://issues.apache.org/jira/browse/OAK-380
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: angela
>
> i just run into the situation of converting a propertystate's value
> of type Date to a Long, which currently throws numberformatexception.
> while i can work around this, i think we should come up with a clear
> definition on value conversion provided by oak-api. the only thing i
> found so far was the description in PropertyState#getValue that claims
> that a conversion in done but not which conversions are supported.
> unless otherwise specified i had silently expected that simple jcr-conversions
> would work.

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

Reply via email to