Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-55143

phpunit fails to update after changing schema

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.6, 3.1.2
    • 3.0.7, 3.1.3
    • Unit tests
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • Hide
      • Init phpunit without a schema.
      • Init phpunit with alternative schema ($CFG->dboptions['dbschema'])
      • Bump version of moodle. (version.php)
      • Remove schema from config.php
      • Init phpunit again (public schema)
      • Add dbschema option back in config.php
      • Init phpunit and it will complete a full init, rather than say nothing happened (This is the change from the previous behaviour)
      Show
      Init phpunit without a schema. Init phpunit with alternative schema ($CFG->dboptions ['dbschema'] ) Bump version of moodle. (version.php) Remove schema from config.php Init phpunit again (public schema) Add dbschema option back in config.php Init phpunit and it will complete a full init, rather than say nothing happened (This is the change from the previous behaviour)

    Description

      After MDL-54947 was fixed it was observed that phpunit doesn't upgrade after version bump.

      1. Init phpunit with alternative schema
      2. Bump version
      3. Remove schema from config.php
      4. Init phpunit (public schema)
      5. Add dbschema option back in config.php
      6. Try init phpunit and nothing will be upgrades...

      Attachments

        Issue Links

          Activity

            People

              mr-russ Russell Smith
              rajeshtaneja Rajesh Taneja
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Dan Poltawski Dan Poltawski
              Jun Pataleta Jun Pataleta
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Nov/16