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

phpunit fails to update after changing schema

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.7, 3.1.3
    • 3.0.6, 3.1.2
    • 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)

      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...

            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

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.