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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Low 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.

        Activity

        Show
        Chris Moutsos added a comment - Made a PR: https://github.com/ezsystems/ezplatform-matrix-fieldtype/pull/12
        Hide
        Chris Moutsos added a comment -

        This has been merged and released in v1.0.1.

        Show
        Chris Moutsos added a comment - This has been merged and released in v1.0.1.
        Show
        Michał Szołtysek added a comment - Merged to master: https://github.com/ezsystems/ezplatform-matrix-fieldtype/commit/dc60942ded621766faddb71558fc95c5484c722b

          People

          • Assignee:
            Unassigned
            Reporter:
            Chris Moutsos
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: