Upgrade fails when LTI not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Critical
|
Gold | ||
20.10 |
Fix Released
|
Critical
|
Unassigned | ||
21.04 |
Fix Released
|
Critical
|
Unassigned | ||
21.10 |
Fix Released
|
Critical
|
Unassigned | ||
22.04 |
Fix Released
|
Critical
|
Gold | ||
22.10 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
While upgrading a test site on Mahara 21.x that did not have LTI (1.1) the upgrade fails.
Tracked this to an upgrade step in htdocs/
This version resolved the issue:
if ($oldversion < 2021042718) {
$table = new XMLDBTable(
if (table_
SET submittableto = 1
}
}
Mitigation, if someone is in the middle of an update: Install the LTI module.
description: | updated |
description: | updated |
summary: |
- Upgrade fails when LTI Advantage not installed + Upgrade fails when LTI not installed |
description: | updated |
description: | updated |
Patch for "main" branch: https:/ /reviews. mahara. org/c/mahara/ +/12669