mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #64517
[Bug 1950413] A change has been merged
Reviewed: https://reviews.mahara.org/12238
Committed: https://git.mahara.org/mahara/mahara/commit/e776912b818b46394977b9589bb95d822a45c9ae
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: main
commit e776912b818b46394977b9589bb95d822a45c9ae
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Wed Nov 10 17:04:04 2021 +1300
Bug 1950413: Adjust upgrade for LTI upgrade problem
When we need to change the LTI name before we reset the webservice
components
Change-Id: I051fa748a1a40eb3e9433d34cfa31c90b89321fc
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
--
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/1950413
Title:
Problem with upgrade when LTI instance containing submissions exists
Status in Mahara:
Fix Committed
Status in Mahara 21.10 series:
New
Status in Mahara 22.04 series:
Fix Committed
Bug description:
Get error:
Cannot delete or update a parent row: a foreign key constraint fails in "lti_assessment"
To test:
1) have an older site, say version 20.04 and create a group in the site
2) create a Webservice -> External app for LTI
3) insert a row in lti_assessment table where the 'oauthserver' equals the value from
SELECT id FROM external_services WHERE shortname = 'maharalti';
4) upgrade site and see error
The problem is the auth/webservice upgrade step happens before
module/lti upgrade step but relies on the module/lti step having
first.
So we need to move a module/lti step to auth/webservice upgrade to
avoid this problem
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1950413/+subscriptions
References