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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2014/04/16 21:44:16 UTC
[jira] [Updated] (OAK-815) Wrong type for empty multi-valued
property
[ https://issues.apache.org/jira/browse/OAK-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated OAK-815:
------------------------------
Fix Version/s: (was: 0.8)
> Wrong type for empty multi-valued property
> ------------------------------------------
>
> Key: OAK-815
> URL: https://issues.apache.org/jira/browse/OAK-815
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, jcr
> Affects Versions: 0.7
> Reporter: Marcel Reutegger
> Attachments: 0001-OAK-815-Wrong-type-for-empty-multi-valued-property.patch
>
>
> While implementing JCR versioning in Oak I noticed that the type for a multi-valued property with an empty array returns the wrong type. E.g. this happens when a node is checked in and the jcr:predecessors property is set to an empty array. Property.getType() then says it's of type STRING, while in fact it should say it's of type REFERENCE.
--
This message was sent by Atlassian JIRA
(v6.2#6252)