Uploaded image for project: 'MyCoRe'
  1. MCR-1107

MCRQL Date Range Query always assumes fields of type MCRMetaHistoryDate

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2015.05.0, 2015.07, 2015.11
    • Fix Version/s: 2015.05.01, 2016.02
    • Component/s: mycore-base
    • Labels:
      None

      Description

      MCRQL Query for e.g. datevalidfrom-datevalidto = TODAY will fail because MCRQueryParser always assumes the fields to be of type MCRMetaHistoryDate. The date will then be normalized to a julian day number, and the query will fail. Since the feature is undocumented and afaik not used any more except in miless, support for history date values can be removed from the code.

        Attachments

          Activity

            People

            • Assignee:
              mcrfluet Frank Lützenkirchen
              Reporter:
              mcrfluet Frank Lützenkirchen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: