Mahara 22.04 upgrade fails due to missing use of dbprefix syntax
Bug #1978300 reported by
Bruno Malaval
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mahara | ||||||
21.04 |
Fix Released
|
High
|
Unassigned | |||
21.10 |
Fix Released
|
High
|
Unassigned | |||
22.04 |
Fix Released
|
High
|
Unassigned | |||
22.10 |
Fix Released
|
High
|
Dianne Tennent |
Bug Description
Mahara 22.04.1
Upgrade failed when using "$cfg->dbprefix" in config.php due to missing brackets in
lib/dp/upgrade.php :
Line 842
execute_sql("UPDATE artefact SET title = ? WHERE id = ?", array($
need to be
execute_sql("UPDATE {artefact} SET title = ? WHERE id = ?", array($
Thanks
Hi Bruno and Dianne,
Thank you for the report, Bruno. Dianne, can you please check it and if confirmed, create a patch for review, setting Bruno as author? I asked for his email.
Please also check if this change would need to be made in any other supported versions of Mahara.
Thank you
Kristina