Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-546

Inadequate treatment of timestamps in QueryStatementImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.7.0
    • OpenCMIS 0.8.0
    • opencmis-client
    • None

    Description

      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 ').

      Attachments

        1. QueryStatementImpl.java
          12 kB
          Jose Carlos Campanero

        Activity

          People

            fmui Florian Müller
            jccampanero Jose Carlos Campanero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: