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

Error on indexing with empty info in attribute with datatype date - missing objects in search result.

    XMLWordPrintable

Details

    Description

      If you have a class with a "date" attribute which is marked as "not required" and publish a object with a empty date the object will not be indexed. The value from solr is "invalid date format".

      Steps to reproduce

      Tested with standard 4.2.0 and eZfind 2.1 and eZFind 2.2 head.

      Edit a class and add an attribute of datatype "Date" (not date and time)
      Publish a object without any info in date
      Reindex

      The error in solr (if you run it in the foregrund) will be "invalid date format"

      Best Regards
      Adam

      Attachments

        Activity

          People

            pborgerm pborgerm
            adam.helms adam.helms
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: