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

IO migrate script fails if there are no media files

    XMLWordPrintable

Details

    Description

      The script php bin/console ezplatform:io:migrate-files --from=default,default --to=dfs,nfs
      fails if there are no media files (no entries in the ezmedia table).

      In LegacyStorageFileRowReader.php line 45: Notice: Trying to access array offset on value of type bool
      This is just a notice, but the script nevertheless stops.

      If I create at least one media file, the script proceeds to the Starting migration... stage, but then it shows the same notice after processing all binary files, and stops.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gunnstein.lye@ibexa.co Gunnstein Lye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: