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 "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2017/10/17 01:34:00 UTC
[jira] [Updated] (OAK-6838) IS NOT NULL condition for relative
properties not working as expected
[ https://issues.apache.org/jira/browse/OAK-6838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikas Saurabh updated OAK-6838:
-------------------------------
Attachment: OAK-6838.patch
Attaching [^OAK-6838.patch] with tests and potential fix (this doesn't break any tests in oak-core or oak-jcr... haven't tested all modules)
> IS NOT NULL condition for relative properties not working as expected
> ---------------------------------------------------------------------
>
> Key: OAK-6838
> URL: https://issues.apache.org/jira/browse/OAK-6838
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: query
> Reporter: Vikas Saurabh
> Assignee: Vikas Saurabh
> Priority: Minor
> Fix For: 1.8
>
> Attachments: OAK-6838.patch
>
>
> It seems that a query like
> {noformat}
> SELECT * FROM [nt:base] WHERE [a/b] IS NULL
> {noformat}
> should return paths where there exists a child {{a}} without a property {{b}} (this works as expected)
> But, it should also return paths where there is not child {{a}} in the first place.
> [~tmueller], does this sound a reasonable expectation?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)