Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24785

Legacy CriterionHandler FieldValue handler should handle DateTime

    XMLWordPrintable

    Details

      Description

      Currently handling DateTime objects is not consistent across search handlers and FieldValue's.

      Solr will accept DateTime and convert it, Legacy does not and throws an exception trying to convert DateTime to a string.

      This will work with solr but using legacy search it will not.

      new Criterion\Field(
      'from_time',
      Criterion\Operator::GTE,
      new \DateTime()
      )

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            wizhippo Douglas Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: