← Back to team overview

mahara-contributors team mailing list archive

[Bug 1978300] Re: Mahara 22.04 upgrade fails due to missing use of dbprefix syntax

 

** Changed in: mahara/22.10
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1978300

Title:
  Mahara 22.04 upgrade fails due to missing use of dbprefix syntax

Status in Mahara:
  Fix Released
Status in Mahara 21.04 series:
  Fix Committed
Status in Mahara 21.10 series:
  Fix Released
Status in Mahara 22.04 series:
  Fix Committed
Status in Mahara 22.10 series:
  Fix Released

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($record->email, $record->id));

  need to be
  execute_sql("UPDATE {artefact} SET title = ? WHERE id = ?", array($record->email, $record->id));

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1978300/+subscriptions



References