You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2007/03/06 12:16:24 UTC

[jira] Created: (JCR-777) Order by clause using child axis does not throw InvalidQueryException

Order by clause using child axis does not throw InvalidQueryException
---------------------------------------------------------------------

                 Key: JCR-777
                 URL: https://issues.apache.org/jira/browse/JCR-777
             Project: Jackrabbit
          Issue Type: Bug
          Components: xpath
    Affects Versions: 1.2.2, 1.2.1, 1.1.1, 1.1, 1.0.1, 1.0, 0.9, 1.2.3
            Reporter: Marcel Reutegger
            Priority: Minor


When the following query is created, the query manager should throw an InvalidQueryException:

//element(*, type) order by foo/@bar

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


[jira] Resolved: (JCR-777) Order by clause using child axis does not throw InvalidQueryException

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-777.
----------------------------------

    Resolution: Won't Fix

Child axis support in order by clause is now implemented (see JCR-800).

Closing this as won't fix.

> Order by clause using child axis does not throw InvalidQueryException
> ---------------------------------------------------------------------
>
>                 Key: JCR-777
>                 URL: https://issues.apache.org/jira/browse/JCR-777
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core, xpath
>    Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.3, 1.4, 1.5.0
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> When the following query is created, the query manager should throw an InvalidQueryException:
> //element(*, type) order by foo/@bar

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


[jira] Commented: (JCR-777) Order by clause using child axis does not throw InvalidQueryException

Posted by "Savvas Triantafillou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481848 ] 

Savvas Triantafillou commented on JCR-777:
------------------------------------------

Hi, instead of throwing an exception, wouldn't it be nice to support child axis in order by clause?

> Order by clause using child axis does not throw InvalidQueryException
> ---------------------------------------------------------------------
>
>                 Key: JCR-777
>                 URL: https://issues.apache.org/jira/browse/JCR-777
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: xpath
>    Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> When the following query is created, the query manager should throw an InvalidQueryException:
> //element(*, type) order by foo/@bar

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


[jira] Updated: (JCR-777) Order by clause using child axis does not throw InvalidQueryException

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-777:
------------------------------

          Component/s: jackrabbit-core
    Affects Version/s: 1.5.0
                       1.3
                       1.4

> Order by clause using child axis does not throw InvalidQueryException
> ---------------------------------------------------------------------
>
>                 Key: JCR-777
>                 URL: https://issues.apache.org/jira/browse/JCR-777
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core, xpath
>    Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3, 1.3, 1.4, 1.5.0
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> When the following query is created, the query manager should throw an InvalidQueryException:
> //element(*, type) order by foo/@bar

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


[jira] Commented: (JCR-777) Order by clause using child axis does not throw InvalidQueryException

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481922 ] 

Jukka Zitting commented on JCR-777:
-----------------------------------

> Hi, instead of throwing an exception, wouldn't it be nice to support child axis in order by clause?

Good idea! However, let's leave this issue as the bug report for not throwing the appropriate exception, and you can file a separate feature request issue for actually supporting that feature.

> Order by clause using child axis does not throw InvalidQueryException
> ---------------------------------------------------------------------
>
>                 Key: JCR-777
>                 URL: https://issues.apache.org/jira/browse/JCR-777
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: xpath
>    Affects Versions: 0.9, 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> When the following query is created, the query manager should throw an InvalidQueryException:
> //element(*, type) order by foo/@bar

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