mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59907
[Bug 1893291] A change has been merged
Reviewed: https://reviews.mahara.org/11196
Committed: https://git.mahara.org/mahara/mahara/commit/050bae9bb0fb849d84b747ba9dd82539c9f55c6c
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch: 20.04_STABLE
commit 050bae9bb0fb849d84b747ba9dd82539c9f55c6c
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Fri Aug 28 14:11:11 2020 +1200
Bug 1893291: make sure that we check for correct constraint_name
Change-Id: Ie0b5b721f62d783402570027b7f38c5eb5f225a3
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: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1893291
Title:
Undefined property: stdClass::$constraint_name error for MySql 8
Status in Mahara:
Fix Committed
Status in Mahara 19.04 series:
Fix Committed
Status in Mahara 19.10 series:
Fix Committed
Status in Mahara 20.04 series:
Fix Committed
Status in Mahara 20.10 series:
Fix Committed
Bug description:
The returned SQL result for checking find_key_name() for
constraint_name has the column name in uppercase but we try to use it
as $c->constraint_name (in lowercase)
We need to check if property $c->CONSTRAINT_NAME exists and use that
otherwise use $c->constraint_name
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1893291/+subscriptions
References