Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 27869D24E for ; Wed, 4 Jul 2012 06:54:38 +0000 (UTC) Received: (qmail 95525 invoked by uid 500); 4 Jul 2012 06:54:37 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 95398 invoked by uid 500); 4 Jul 2012 06:54:37 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 94986 invoked by uid 99); 4 Jul 2012 06:54:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2012 06:54:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id A87E1142856 for ; Wed, 4 Jul 2012 06:54:34 +0000 (UTC) Date: Wed, 4 Jul 2012 06:54:34 +0000 (UTC) From: "Jose Carlos Campanero (JIRA)" To: dev@chemistry.apache.org Message-ID: <670537667.2182.1341384874694.JavaMail.jiratomcat@issues-vm> In-Reply-To: <866621334.71406.1340973103850.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Closed] (CMIS-546) Inadequate treatment of timestamps in QueryStatementImpl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-546?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Jose Carlos Campanero closed CMIS-546. -------------------------------------- =20 > 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=C3=BCller > Fix For: OpenCMIS 0.8.0 > > Attachments: QueryStatementImpl.java > > > QueryStatementImpl seems to inadequately treat the query criteria when th= ey are of type date. > QueryStatementImpl only generates the literal for the date you want to qu= ery (eg '2012-06-28T22: 00:00.000 Z '), excluding the literal 'TIMESTAMP '.= =20 > The literal 'TIMESTAMP ' is necessary in order to, as specified in the gr= ammar CmisQlStrictLexer.g, process the field as a date type (TIMESTAMP '201= 2-06-28T22: 00:00.000 Z '). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira