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:34:14 UTC
[jira] [Resolved] (OAK-1739) Incorrect handling of multivalued
comparisons in queries
[ https://issues.apache.org/jira/browse/OAK-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved OAK-1739.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.1
Assignee: Jukka Zitting
Fixed in revision 1588042.
> Incorrect handling of multivalued comparisons in queries
> --------------------------------------------------------
>
> Key: OAK-1739
> URL: https://issues.apache.org/jira/browse/OAK-1739
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Fix For: 1.1
>
>
> [Section 6.7.14|http://www.day.com/specs/jcr/2.0/6_Query.html#6.7.16 Comparison] of the JCR 2.0 spec says:
> bq. ... operand1 may evaluate to an array of values (for example, the values of a multi-valued property), in which case the comparison is separately performed for each element of the array, and the Comparison constraint is satisfied as a whole if the comparison against any element of the array is satisfied.
> This is currently not the case in Oak. Instead only the first value of the array is used in the comparison.
--
This message was sent by Atlassian JIRA
(v6.2#6252)