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:33:44 UTC
[jira] [Updated] (CMIS-546) Inadequate treatment of timestamps in
QueryStatementImpl
[ 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