Undefined property: stdClass::$constraint_name error for MySql 8
Bug #1893291 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
19.04 |
Fix Released
|
High
|
Unassigned | ||
19.10 |
Fix Released
|
High
|
Unassigned | ||
20.04 |
Fix Released
|
High
|
Unassigned | ||
20.10 |
Fix Released
|
High
|
Robert Lyon |
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
Changed in mahara: | |
status: | New → In Progress |
Changed in mahara: | |
milestone: | 20.10.0 → none |
To post a comment you must log in.
Patch for "18.10_STABLE" branch: https:/ /reviews. mahara. org/11193