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

ezmatrix migration script can't error when there's 0 objects of a content type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.1
    • Component/s: Field types
    • Labels:

      Description

      When running `php bin/console ezplatform:migrate:legacy_matrix` (https://github.com/ezsystems/ezplatform-matrix-fieldtype/blob/107e3588eebb7ab78033c64e549cefb01146c105/src/bundle/Command/MigrateLegacyMatrixCommand.php), the script errors out if there are 0 instances of the content object / content object attribute:

      [Symfony\Component\Console\Exception\LogicException]
      Unable to display the estimated time if the maximum number of steps is not set.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            chris@contextualcode.com Chris Moutsos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: