[
https://issues.apache.org/jira/browse/OAK-7131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davide Giannella closed OAK-7131.
---------------------------------
Bulk close 1.8.1
> xpath to sql2 conversion drops order by clause for some cases
> -------------------------------------------------------------
>
> Key: OAK-7131
> URL: https://issues.apache.org/jira/browse/OAK-7131
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: query
> Affects Versions: 1.6.0, 1.8.0
> Reporter: Vikas Saurabh
> Assignee: Thomas Mueller
> Priority: Critical
> Fix For: 1.9.0, 1.10, 1.8.1, 1.6.9
>
>
> When xpath has OR-ed primary type and a couple of OR-ed property constraint
> (e.g. \[0]), the converted sql statement doesn't get ordering clause.
> \[0]:
> {noformat}
> //(element(*, type1) | element(*, type2))[@a='b' or @c='d'] order by @foo
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)