mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59708
[Bug 1893291] Re: Undefined property: stdClass::$constraint_name error for MySql 8
** Changed in: mahara/20.10
Importance: Undecided => High
** Changed in: mahara/20.04
Importance: Undecided => High
** Changed in: mahara/19.10
Importance: Undecided => High
** Changed in: mahara/19.04
Importance: Undecided => High
** Changed in: mahara/20.10
Milestone: None => 20.10.0
** Changed in: mahara/20.04
Milestone: None => 20.04.2
** Changed in: mahara/19.10
Milestone: None => 19.10.5
** Changed in: mahara/19.04
Milestone: None => 19.04.7
--
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:
In Progress
Status in Mahara 19.04 series:
In Progress
Status in Mahara 19.10 series:
In Progress
Status in Mahara 20.04 series:
In Progress
Status in Mahara 20.10 series:
In Progress
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