Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-2052

XPath QueryFormat may produce malformed XPath statement

    Details

      Description

      When the query tree contains select properties and an order by clause, then the XPath QueryFormat will produce a malformed XPath statement.

      E.g.:

      //element(*, foo)/(@a|@b) order by @bar

      round trips to:

      //element(*, foo) order by @bar/(@a|@b)

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2m 41s 1 Marcel Reutegger 01/Apr/09 13:00
        Resolved Resolved Closed Closed
        27d 18h 49m 1 Jukka Zitting 29/Apr/09 07:50
        Jukka Zitting made changes -
        Fix Version/s core-1.4.11 [ 12314240 ]
        Component/s jackrabbit-core [ 12310114 ]
        Hide
        Jukka Zitting added a comment -

        Merged to the 1.4 branch in revision 816572.

        Note that in 1.4.x this fix affects jackrabbit-core, since the QueryFormat class was moved from core to spi-commons after the 1.4 release.

        Show
        Jukka Zitting added a comment - Merged to the 1.4 branch in revision 816572. Note that in 1.4.x this fix affects jackrabbit-core, since the QueryFormat class was moved from core to spi-commons after the 1.4 release.
        Jukka Zitting made changes -
        Workflow jira [ 12459662 ] no-reopen-closed, patch-avail [ 12468233 ]
        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jukka Zitting made changes -
        Fix Version/s 1.5.5 [ 12313709 ]
        Fix Version/s 1.6.0 [ 12313459 ]
        Hide
        Jukka Zitting added a comment -

        Merged to the 1.5 branch in revision 767539.

        Show
        Jukka Zitting added a comment - Merged to the 1.5 branch in revision 767539.
        Marcel Reutegger made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.6.0 [ 12313459 ]
        Resolution Fixed [ 1 ]
        Hide
        Marcel Reutegger added a comment -

        Fixed in revision: 760876

        Show
        Marcel Reutegger added a comment - Fixed in revision: 760876
        Marcel Reutegger created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcel Reutegger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development