jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3632) Incorrect Value Conversion upon Node.setProperty and Node.setValue
Date Fri, 13 Nov 2015 15:04:11 GMT

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

angela commented on OAK-3632:
-----------------------------

[~mduerig], i am a bit undecided on how to fix that. the {{Conversions}} class is located
in {{plugins/value}} with the description:

{quote}
Utility class defining the conversion that take place between {@link org.apache.jackrabbit.oak.api.PropertyState}s
of different types. All conversions defined in this class are compatible with the conversions
specified in JSR-283 $3.6.4. However, some conversion in this class might not be defined in
JSR-283.
{quote}

the conversion are clearly not fully compliant with the specification (see test). since it
seems that {{Conversions}} is not only used in oak-jcr, i am a bit reluctant changing the
contract. adding another spec-complicant conversion just for oak-jcr seems quite troublesome
as well. what would you suggest?

> Incorrect Value Conversion upon Node.setProperty and Node.setValue
> ------------------------------------------------------------------
>
>                 Key: OAK-3632
>                 URL: https://issues.apache.org/jira/browse/OAK-3632
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: jcr
>            Reporter: angela
>
> see container issue for test-cases and description



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message