Reviewed: https://reviews.mahara.org/c/mahara/+/12906 Committed: https://git.mahara.org/mahara/mahara/commit/9b3291564add10f3632f8a908c7c0c193fa2a761 Submitter: "Robert Lyon <robe...@catalyst.net.nz>" Branch: 21.04_DEV
commit 9b3291564add10f3632f8a908c7c0c193fa2a761 Author: Bruno Malaval <bruno.mala...@uha.fr> Date: Thu Jun 16 16:16:17 2022 +1200 Bug 1978300: Fix SQL syntax in db upgrade step 22.04 upgrade was failing due to missing use of dbprefix syntax (curly braces) Needs cherry-picking onto 20.10, 21.04, 21.10 and 22.04 Change-Id: I5f7c0adba793fc0f610e01f9fcd23f7e70564b3b (cherry picked from commit 38122cfcdb064f53d7cddf77aa60499c9b6634c5) -- 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 Committed Status in Mahara 21.04 series: Fix Committed Status in Mahara 21.10 series: Fix Committed Status in Mahara 22.04 series: Fix Committed Status in Mahara 22.10 series: Fix Committed 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 _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp