Test steps: 1. Checkout 21.10 2. Ensure you have some users 3. Make the value of artefact.title where artefacttype = 'email' DIFFERENT to the value of artefact_internal_profile_email.email (for the same user) 4. Make a backup of the database in this state 5. Checkout main - it will fail 6. Replace database with the backup 7. Checkout the patch fix above 8. Then run the upgrade again - it should upgrade successfully (you may need to force the upgrade by using the -f flag running the cli script.)
-- 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 21.04 series: New Status in Mahara 21.10 series: 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 _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

