Moodle

Unknown error upgrading qtype_calculated to version 200xxxxxxx, can not continue

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Questions
  • Labels:
    None
  • Difficulty:
    Easy
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Several people have spotted the bug when upgrading from:

Unknown error upgrading qtype_calculated to version 200xxxxxxxxx, can not continue.

Problem is simply caused because question/type/calculated/db/upgrade.php tries to collect a result from calling database_manager::create_table which doesn't actually return a result.
Will commit a patch to this immediately.

Activity

Hide
Sam Hemelryk added a comment -

Fixed. Cheers

Show
Sam Hemelryk added a comment - Fixed. Cheers

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: