← 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

 

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

** Changed in: mahara
     Assignee: (unassigned) => Dianne Tennent (dianne-t)

** Also affects: mahara/22.10
   Importance: Undecided
     Assignee: Dianne Tennent (dianne-t)
       Status: New

** Also affects: mahara/22.04
   Importance: Undecided
       Status: New

** Changed in: mahara/22.10
    Milestone: None => 22.10.0

** Changed in: mahara/22.04
    Milestone: None => 22.04.2

-- 
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:
  New
Status in Mahara 22.04 series:
  New
Status in Mahara 22.10 series:
  New

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