jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zacchaeus Sim (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2858) Xpath Query With Not Operator Doesn't Order
Date Wed, 05 Jan 2011 03:44:47 GMT
Xpath Query With Not Operator Doesn't Order
-------------------------------------------

                 Key: JCR-2858
                 URL: https://issues.apache.org/jira/browse/JCR-2858
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: xpath
    Affects Versions: 2.0.0
            Reporter: Zacchaeus Sim



Ordering doesn't work with the following queries -

/jcr:root/content//element(*, cq:Page)[not(@jcr:content/last:Published)] order by jcr:content/@cq:lastModified
ascending
/jcr:root/content//element(*, cq:Page)[not(@jcr:content/last:Published)] order by jcr:content/@cq:lastModified
descending

Workaround where ordering works fine -

/jcr:root/content//element(*, cq:Page)[not(jcr:like(@jcr:content/last:Published,''))] order
by jcr:content/@cq:lastModified ascending
/jcr:root/content//element(*, cq:Page)[not(jcr:like(@jcr:content/last:Published,''))] order
by jcr:content/@cq:lastModified descending

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message