You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2011/03/23 18:08:05 UTC

[jira] [Created] (CMIS-337) QueryUtil swallows error message

QueryUtil swallows error message 
---------------------------------

                 Key: CMIS-337
                 URL: https://issues.apache.org/jira/browse/CMIS-337
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-server
    Affects Versions: OpenCMIS 0.3.0
            Reporter: Michael Dürig


QueryUtil.traverseStatementAndCatchExc does in case of a RecognitionException always report 'null' for the error message. 

Furthermore QueryUtil should not extend QueryObject since it is a pure utility class for traversing queriy statements and handling exceptions. QueryObject OTOH is used to accumulate the result of such a traversal. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (CMIS-337) QueryUtil swallows error message

Posted by "Jens Hübel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Hübel closed CMIS-337.
---------------------------


> QueryUtil swallows error message 
> ---------------------------------
>
>                 Key: CMIS-337
>                 URL: https://issues.apache.org/jira/browse/CMIS-337
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: Michael Dürig
>            Assignee: Jens Hübel
>             Fix For: OpenCMIS 0.4.0
>
>         Attachments: CMIS-337.patch
>
>
> QueryUtil.traverseStatementAndCatchExc does in case of a RecognitionException always report 'null' for the error message. 
> Furthermore QueryUtil should not extend QueryObject since it is a pure utility class for traversing queriy statements and handling exceptions. QueryObject OTOH is used to accumulate the result of such a traversal. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CMIS-337) QueryUtil swallows error message

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011136#comment-13011136 ] 

Michael Dürig commented on CMIS-337:
------------------------------------

Thanks for fixing!

> QueryUtil swallows error message 
> ---------------------------------
>
>                 Key: CMIS-337
>                 URL: https://issues.apache.org/jira/browse/CMIS-337
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: Michael Dürig
>            Assignee: Jens Hübel
>             Fix For: OpenCMIS 0.4.0
>
>         Attachments: CMIS-337.patch
>
>
> QueryUtil.traverseStatementAndCatchExc does in case of a RecognitionException always report 'null' for the error message. 
> Furthermore QueryUtil should not extend QueryObject since it is a pure utility class for traversing queriy statements and handling exceptions. QueryObject OTOH is used to accumulate the result of such a traversal. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CMIS-337) QueryUtil swallows error message

Posted by "Jens Hübel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Hübel updated CMIS-337:
----------------------------


Done. Thanks for providing the patch. (It appears that you unintentionally derive from a superclass if you create a new class in Eclipse and your cursor is positioned on another class. This happened to me more than once.)

> QueryUtil swallows error message 
> ---------------------------------
>
>                 Key: CMIS-337
>                 URL: https://issues.apache.org/jira/browse/CMIS-337
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: Michael Dürig
>            Assignee: Jens Hübel
>         Attachments: CMIS-337.patch
>
>
> QueryUtil.traverseStatementAndCatchExc does in case of a RecognitionException always report 'null' for the error message. 
> Furthermore QueryUtil should not extend QueryObject since it is a pure utility class for traversing queriy statements and handling exceptions. QueryObject OTOH is used to accumulate the result of such a traversal. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CMIS-337) QueryUtil swallows error message

Posted by "Jens Hübel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Hübel resolved CMIS-337.
-----------------------------

       Resolution: Fixed
    Fix Version/s: OpenCMIS 0.4.0

> QueryUtil swallows error message 
> ---------------------------------
>
>                 Key: CMIS-337
>                 URL: https://issues.apache.org/jira/browse/CMIS-337
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: Michael Dürig
>            Assignee: Jens Hübel
>             Fix For: OpenCMIS 0.4.0
>
>         Attachments: CMIS-337.patch
>
>
> QueryUtil.traverseStatementAndCatchExc does in case of a RecognitionException always report 'null' for the error message. 
> Furthermore QueryUtil should not extend QueryObject since it is a pure utility class for traversing queriy statements and handling exceptions. QueryObject OTOH is used to accumulate the result of such a traversal. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CMIS-337) QueryUtil swallows error message

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig updated CMIS-337:
-------------------------------

    Attachment: CMIS-337.patch

proposed patch

> QueryUtil swallows error message 
> ---------------------------------
>
>                 Key: CMIS-337
>                 URL: https://issues.apache.org/jira/browse/CMIS-337
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: Michael Dürig
>         Attachments: CMIS-337.patch
>
>
> QueryUtil.traverseStatementAndCatchExc does in case of a RecognitionException always report 'null' for the error message. 
> Furthermore QueryUtil should not extend QueryObject since it is a pure utility class for traversing queriy statements and handling exceptions. QueryObject OTOH is used to accumulate the result of such a traversal. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CMIS-337) QueryUtil swallows error message

Posted by "Jens Hübel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Hübel reassigned CMIS-337:
-------------------------------

    Assignee: Jens Hübel

> QueryUtil swallows error message 
> ---------------------------------
>
>                 Key: CMIS-337
>                 URL: https://issues.apache.org/jira/browse/CMIS-337
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: Michael Dürig
>            Assignee: Jens Hübel
>         Attachments: CMIS-337.patch
>
>
> QueryUtil.traverseStatementAndCatchExc does in case of a RecognitionException always report 'null' for the error message. 
> Furthermore QueryUtil should not extend QueryObject since it is a pure utility class for traversing queriy statements and handling exceptions. QueryObject OTOH is used to accumulate the result of such a traversal. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira