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

Fix BC on Date FieldType indexing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: 1.9.0, 1.7.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Since EZP-25276 BC might not be respected.

      Comment from Gaetano who found the issue:
      This (I think) causes a regression in the testsuite of ezmigrationbundle: https://travis-ci.org/kaliop-uk/ezmigrationbundle/builds/223343441 (notice that tests pass on older ez, but not on ezplatform. tests where passing yesterday on all platforms...).

      The error message I get is:

      Failed to parse time string (@) at position 0 (@): Unexpected character in file /home/travis/build/kaliop-uk/ezmigrationbundle/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/FieldType/Date/SearchField.php line 32

      It might be that a null value for the timestamp was previously ok, whereas it gets now converted to the string '@', which is not a valid representation. Maybe we could add a cast to int on that line 32 ?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              yannick.roger-obsolete@ez.no Yannick Roger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: