[
https://issues.apache.org/jira/browse/OAK-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004081#comment-15004081
]
angela edited comment on OAK-3632 at 11/17/15 9:49 AM:
-------------------------------------------------------
[~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
org.apache.jackrabbit.oak.api.PropertyStates 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?
was (Author: anchela):
[~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)