You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2013/09/17 12:22:51 UTC
[jira] [Updated] (OAK-1020) Property value converion ignores
reisdual property definition
[ https://issues.apache.org/jira/browse/OAK-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra updated OAK-1020:
---------------------------------
Attachment: OAK-1020.patch
Test case illustrating the issue. The testcase passes on JR2 but fails on Oak
> 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
> 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