You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Jose Carlos Campanero (JIRA)" <ji...@apache.org> on 2012/06/29 14:31:43 UTC
[jira] [Created] (CMIS-546) Inadequate treatment of timestamps in
QueryStatementImpl
Jose Carlos Campanero created CMIS-546:
------------------------------------------
Summary: Inadequate treatment of timestamps in QueryStatementImpl
Key: CMIS-546
URL: https://issues.apache.org/jira/browse/CMIS-546
Project: Chemistry
Issue Type: Bug
Components: opencmis-client
Affects Versions: OpenCMIS 0.7.0
Reporter: Jose Carlos Campanero
QueryStatementImpl seems to inadequately treat the query criteria when they are of type date.
QueryStatementImpl only generates the literal for the date you want to query (eg '2012-06-28T22: 00:00.000 Z '), excluding the literal 'TIMESTAMP '.
The literal 'TIMESTAMP ' is necessary in order to, as specified in the grammar CmisQlStrictLexer.g, process the field as a date type (TIMESTAMP '2012-06-28T22: 00:00.000 Z ').
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CMIS-546) Inadequate treatment of timestamps in
QueryStatementImpl
Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller reassigned CMIS-546:
-----------------------------------
Assignee: Florian Müller
> Inadequate treatment of timestamps in QueryStatementImpl
> --------------------------------------------------------
>
> Key: CMIS-546
> URL: https://issues.apache.org/jira/browse/CMIS-546
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-client
> Affects Versions: OpenCMIS 0.7.0
> Reporter: Jose Carlos Campanero
> Assignee: Florian Müller
> Attachments: QueryStatementImpl.java
>
>
> QueryStatementImpl seems to inadequately treat the query criteria when they are of type date.
> QueryStatementImpl only generates the literal for the date you want to query (eg '2012-06-28T22: 00:00.000 Z '), excluding the literal 'TIMESTAMP '.
> The literal 'TIMESTAMP ' is necessary in order to, as specified in the grammar CmisQlStrictLexer.g, process the field as a date type (TIMESTAMP '2012-06-28T22: 00:00.000 Z ').
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CMIS-546) Inadequate treatment of timestamps in
QueryStatementImpl
Posted by "Jose Carlos Campanero (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jose Carlos Campanero closed CMIS-546.
--------------------------------------
> Inadequate treatment of timestamps in QueryStatementImpl
> --------------------------------------------------------
>
> Key: CMIS-546
> URL: https://issues.apache.org/jira/browse/CMIS-546
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-client
> Affects Versions: OpenCMIS 0.7.0
> Reporter: Jose Carlos Campanero
> Assignee: Florian Müller
> Fix For: OpenCMIS 0.8.0
>
> Attachments: QueryStatementImpl.java
>
>
> QueryStatementImpl seems to inadequately treat the query criteria when they are of type date.
> QueryStatementImpl only generates the literal for the date you want to query (eg '2012-06-28T22: 00:00.000 Z '), excluding the literal 'TIMESTAMP '.
> The literal 'TIMESTAMP ' is necessary in order to, as specified in the grammar CmisQlStrictLexer.g, process the field as a date type (TIMESTAMP '2012-06-28T22: 00:00.000 Z ').
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CMIS-546) Inadequate treatment of timestamps in
QueryStatementImpl
Posted by "Jose Carlos Campanero (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406309#comment-13406309 ]
Jose Carlos Campanero commented on CMIS-546:
--------------------------------------------
Thank you very much Florian.
Best regards,
J. Carlos
> Inadequate treatment of timestamps in QueryStatementImpl
> --------------------------------------------------------
>
> Key: CMIS-546
> URL: https://issues.apache.org/jira/browse/CMIS-546
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-client
> Affects Versions: OpenCMIS 0.7.0
> Reporter: Jose Carlos Campanero
> Assignee: Florian Müller
> Fix For: OpenCMIS 0.8.0
>
> Attachments: QueryStatementImpl.java
>
>
> QueryStatementImpl seems to inadequately treat the query criteria when they are of type date.
> QueryStatementImpl only generates the literal for the date you want to query (eg '2012-06-28T22: 00:00.000 Z '), excluding the literal 'TIMESTAMP '.
> The literal 'TIMESTAMP ' is necessary in order to, as specified in the grammar CmisQlStrictLexer.g, process the field as a date type (TIMESTAMP '2012-06-28T22: 00:00.000 Z ').
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CMIS-546) Inadequate treatment of timestamps in
QueryStatementImpl
Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller resolved CMIS-546.
---------------------------------
Resolution: Fixed
Fix Version/s: OpenCMIS 0.8.0
Added setDateTimeTimestamp()
> Inadequate treatment of timestamps in QueryStatementImpl
> --------------------------------------------------------
>
> Key: CMIS-546
> URL: https://issues.apache.org/jira/browse/CMIS-546
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-client
> Affects Versions: OpenCMIS 0.7.0
> Reporter: Jose Carlos Campanero
> Assignee: Florian Müller
> Fix For: OpenCMIS 0.8.0
>
> Attachments: QueryStatementImpl.java
>
>
> QueryStatementImpl seems to inadequately treat the query criteria when they are of type date.
> QueryStatementImpl only generates the literal for the date you want to query (eg '2012-06-28T22: 00:00.000 Z '), excluding the literal 'TIMESTAMP '.
> The literal 'TIMESTAMP ' is necessary in order to, as specified in the grammar CmisQlStrictLexer.g, process the field as a date type (TIMESTAMP '2012-06-28T22: 00:00.000 Z ').
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CMIS-546) Inadequate treatment of timestamps in
QueryStatementImpl
Posted by "Jose Carlos Campanero (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jose Carlos Campanero updated CMIS-546:
---------------------------------------
Attachment: QueryStatementImpl.java
Patched file.
> Inadequate treatment of timestamps in QueryStatementImpl
> --------------------------------------------------------
>
> Key: CMIS-546
> URL: https://issues.apache.org/jira/browse/CMIS-546
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-client
> Affects Versions: OpenCMIS 0.7.0
> Reporter: Jose Carlos Campanero
> Attachments: QueryStatementImpl.java
>
>
> QueryStatementImpl seems to inadequately treat the query criteria when they are of type date.
> QueryStatementImpl only generates the literal for the date you want to query (eg '2012-06-28T22: 00:00.000 Z '), excluding the literal 'TIMESTAMP '.
> The literal 'TIMESTAMP ' is necessary in order to, as specified in the grammar CmisQlStrictLexer.g, process the field as a date type (TIMESTAMP '2012-06-28T22: 00:00.000 Z ').
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira