Reviewed:  https://reviews.mahara.org/11293
Committed: 
https://git.mahara.org/mahara/mahara/commit/72ac8eb6d15cf16df34daa51659709d0df1753b3
Submitter: Cecilia Vela Gurovic (cecili...@catalyst.net.nz)
Branch:    19.04_STABLE

commit 72ac8eb6d15cf16df34daa51659709d0df1753b3
Author: Robert Lyon <robe...@catalyst.net.nz>
Date:   Fri Sep 11 13:21:05 2020 +1200

Bug 1893291: Also checking we are dealing with correct column name

Change-Id: I3fdd46bd785ec9fdc785f6f6a1c44986c6fe451c
Signed-off-by: Robert Lyon <robe...@catalyst.net.nz>
(cherry picked from commit 75b1acf1ef2fbda0248e2c46ccefb5fa5a11366c)
(cherry picked from commit 14c96202fec06629f222669d3e8874e47751d9f0)
(cherry picked from commit fb9b657266a3b052facafc22353aa27b942bc0e3)

-- 
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:
  In Progress
Status in Mahara 19.10 series:
  In Progress
Status in Mahara 20.04 series:
  In Progress
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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to