Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16767

Migrator shows wrong migration as missing if unfulfillable

    XMLWordPrintable

    Details

      Description

      If a migration's dependency is considered unfulfillable, the system reports the dependency as missing instead of the actual missing migration. This missing migration is often farther down the dependency chain.

      Steps to reproduce:

      1. Rename phpbb/db/migration/data/v310/bot_update.php to bot_update2.php
      2. Rename that migration's class to bot_update2
      3. Run the migrations
      4. Receive error:

        The migration "\phpbb\db\migration\data\v31x\v319rc1" is not fulfillable, missing migration "\phpbb\db\migration\data\v31x\v318".

      Expected result:
      The bot_update migration is reported as missing, not the first dependency.

        Attachments

          Activity

            People

            Assignee:
            Noxwizard Noxwizard
            Reporter:
            Noxwizard Noxwizard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: