You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2009/07/13 17:19:14 UTC

[jira] Created: (JCR-2208) update tests so that both Query.XPATH and Query:SQL are treated as optional features

update tests so that both Query.XPATH and Query:SQL are treated as optional features
------------------------------------------------------------------------------------

                 Key: JCR-2208
                 URL: https://issues.apache.org/jira/browse/JCR-2208
             Project: Jackrabbit Content Repository
          Issue Type: Task
          Components: jackrabbit-jcr-tests
            Reporter: Julian Reschke


In JCR 2.0, both Query.XPATH and Query.SQL are optional (or, actually, deprecated).

We either need to modify the tests so that they pass on a repository that doesn't support them (-> NotExecutableException), or remove them altogether.

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


[jira] Assigned: (JCR-2208) update tests so that both Query.XPATH and Query:SQL are treated as optional features

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

Julian Reschke reassigned JCR-2208:
-----------------------------------

    Assignee: Julian Reschke

> update tests so that both Query.XPATH and Query:SQL are treated as optional features
> ------------------------------------------------------------------------------------
>
>                 Key: JCR-2208
>                 URL: https://issues.apache.org/jira/browse/JCR-2208
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: jackrabbit-jcr-tests
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>
> In JCR 2.0, both Query.XPATH and Query.SQL are optional (or, actually, deprecated).
> We either need to modify the tests so that they pass on a repository that doesn't support them (-> NotExecutableException), or remove them altogether.

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


[jira] Updated: (JCR-2208) update tests so that both Query.XPATH and Query:SQL are treated as optional features

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

Jukka Zitting updated JCR-2208:
-------------------------------

    Fix Version/s: 2.0-alpha9

> update tests so that both Query.XPATH and Query:SQL are treated as optional features
> ------------------------------------------------------------------------------------
>
>                 Key: JCR-2208
>                 URL: https://issues.apache.org/jira/browse/JCR-2208
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: jackrabbit-jcr-tests
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>             Fix For: 2.0-alpha9
>
>
> In JCR 2.0, both Query.XPATH and Query.SQL are optional (or, actually, deprecated).
> We either need to modify the tests so that they pass on a repository that doesn't support them (-> NotExecutableException), or remove them altogether.

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


[jira] Commented: (JCR-2208) update tests so that both Query.XPATH and Query:SQL are treated as optional features

Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731504#action_12731504 ] 

Julian Reschke commented on JCR-2208:
-------------------------------------

there are likely cases where missing support for XPath will cause test failures, but right now, I have no way to test this as Jackrabbit seems to rely on XPath support being present internally.

> update tests so that both Query.XPATH and Query:SQL are treated as optional features
> ------------------------------------------------------------------------------------
>
>                 Key: JCR-2208
>                 URL: https://issues.apache.org/jira/browse/JCR-2208
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: jackrabbit-jcr-tests
>            Reporter: Julian Reschke
>
> In JCR 2.0, both Query.XPATH and Query.SQL are optional (or, actually, deprecated).
> We either need to modify the tests so that they pass on a repository that doesn't support them (-> NotExecutableException), or remove them altogether.

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


[jira] Resolved: (JCR-2208) update tests so that both Query.XPATH and Query:SQL are treated as optional features

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

Julian Reschke resolved JCR-2208.
---------------------------------

    Resolution: Fixed

checked tests by temporarily remvoing Query.XPATH from Jackrabbit's getSupportedQueryLanguages method return value. Updated test class so that it always checks for support that way (see revision 805447)

> update tests so that both Query.XPATH and Query:SQL are treated as optional features
> ------------------------------------------------------------------------------------
>
>                 Key: JCR-2208
>                 URL: https://issues.apache.org/jira/browse/JCR-2208
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: jackrabbit-jcr-tests
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>
> In JCR 2.0, both Query.XPATH and Query.SQL are optional (or, actually, deprecated).
> We either need to modify the tests so that they pass on a repository that doesn't support them (-> NotExecutableException), or remove them altogether.

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


[jira] Updated: (JCR-2208) update tests so that both Query.XPATH and Query:SQL are treated as optional features

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

Julian Reschke updated JCR-2208:
--------------------------------

    Issue Type: Sub-task  (was: Task)
        Parent: JCR-1104

> update tests so that both Query.XPATH and Query:SQL are treated as optional features
> ------------------------------------------------------------------------------------
>
>                 Key: JCR-2208
>                 URL: https://issues.apache.org/jira/browse/JCR-2208
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: jackrabbit-jcr-tests
>            Reporter: Julian Reschke
>
> In JCR 2.0, both Query.XPATH and Query.SQL are optional (or, actually, deprecated).
> We either need to modify the tests so that they pass on a repository that doesn't support them (-> NotExecutableException), or remove them altogether.

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