You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Watzek (JIRA)" <ji...@apache.org> on 2005/12/09 17:28:10 UTC

[jira] Created: (JDO-254) Fix message when query compilation fails

Fix message when query compilation fails
----------------------------------------

         Key: JDO-254
         URL: http://issues.apache.org/jira/browse/JDO-254
     Project: JDO
        Type: Bug
  Components: tck20  
    Reporter: Michael Watzek
 Assigned to: Michael Watzek 
    Priority: Trivial


The message of failing query compilation should contain the query text. This is the case for method 

  QueryTest.compileSingleStringQuery(String assertion, String singleStringQuery, boolean positive).

It is not the case for methods

  QueryTest.compileSingleStringQuery(String assertion, QueryElementHolder queryElementHolder, boolean positive) and
  QueryTest.compileAPIQuery(String assertion, QueryElementHolder queryElementHolder, boolean positive).


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (JDO-254) Fix message when query compilation fails

Posted by "Michael Watzek (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-254?page=all ]

Michael Watzek updated JDO-254:
-------------------------------

    Attachment: JDO-254.patch

The attached patch fixes this issue.


> Fix message when query compilation fails
> ----------------------------------------
>
>          Key: JDO-254
>          URL: http://issues.apache.org/jira/browse/JDO-254
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>     Priority: Trivial
>  Attachments: JDO-254.patch
>
> The message of failing query compilation should contain the query text. This is the case for method 
>   QueryTest.compileSingleStringQuery(String assertion, String singleStringQuery, boolean positive).
> It is not the case for methods
>   QueryTest.compileSingleStringQuery(String assertion, QueryElementHolder queryElementHolder, boolean positive) and
>   QueryTest.compileAPIQuery(String assertion, QueryElementHolder queryElementHolder, boolean positive).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (JDO-254) Fix message when query compilation fails

Posted by "Michael Watzek (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-254?page=all ]
     
Michael Watzek resolved JDO-254:
--------------------------------

    Resolution: Fixed

The attached patch has been checked in (revision 355537).


> Fix message when query compilation fails
> ----------------------------------------
>
>          Key: JDO-254
>          URL: http://issues.apache.org/jira/browse/JDO-254
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>     Priority: Trivial
>  Attachments: JDO-254.patch
>
> The message of failing query compilation should contain the query text. This is the case for method 
>   QueryTest.compileSingleStringQuery(String assertion, String singleStringQuery, boolean positive).
> It is not the case for methods
>   QueryTest.compileSingleStringQuery(String assertion, QueryElementHolder queryElementHolder, boolean positive) and
>   QueryTest.compileAPIQuery(String assertion, QueryElementHolder queryElementHolder, boolean positive).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (JDO-254) Fix message when query compilation fails

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JDO-254?page=comments#action_12359907 ] 

Michael Bouschen commented on JDO-254:
--------------------------------------

The patch looks good.

> Fix message when query compilation fails
> ----------------------------------------
>
>          Key: JDO-254
>          URL: http://issues.apache.org/jira/browse/JDO-254
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>     Priority: Trivial
>  Attachments: JDO-254.patch
>
> The message of failing query compilation should contain the query text. This is the case for method 
>   QueryTest.compileSingleStringQuery(String assertion, String singleStringQuery, boolean positive).
> It is not the case for methods
>   QueryTest.compileSingleStringQuery(String assertion, QueryElementHolder queryElementHolder, boolean positive) and
>   QueryTest.compileAPIQuery(String assertion, QueryElementHolder queryElementHolder, boolean positive).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira