[
https://issues.apache.org/jira/browse/OAK-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769555#comment-13769555
]
Jukka Zitting commented on OAK-1020:
------------------------------------
Yes, the problem is in oak-jcr, in
{{NodeDelegate.findMatchingPropertyDefinition()}}. I should have a fix shortly.
> Property value converion ignores reisdual property definition
> -------------------------------------------------------------
>
> Key: OAK-1020
> URL: https://issues.apache.org/jira/browse/OAK-1020
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: Chetan Mehrotra
> Assignee: Jukka Zitting
> Priority: Minor
> Attachments: OAK-1020.patch
>
>
> Assume following node type which a property defined with type and a residual
> unnamed property also defined
> {noformat}
> [oak:foo]
> - stringProp (String)
> - * (undefined)
> {noformat}
> For such node type if a property {{stringProp}} is being set with a binary
> value then Oak converts it into a String property thereby causing binary
> stream to change. In JR2 conversion would not happen as conversion logic
> treats setting (stringProp,BINARY) as a residual property
--
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