← Back to team overview

mahara-contributors team mailing list archive

[Bug 1893291] A change has been merged

 

Reviewed:  https://reviews.mahara.org/11292
Committed: https://git.mahara.org/mahara/mahara/commit/fb9b657266a3b052facafc22353aa27b942bc0e3
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    19.10_STABLE

commit fb9b657266a3b052facafc22353aa27b942bc0e3
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
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 <robertl@xxxxxxxxxxxxxxx>
(cherry picked from commit 75b1acf1ef2fbda0248e2c46ccefb5fa5a11366c)
(cherry picked from commit 14c96202fec06629f222669d3e8874e47751d9f0)

-- 
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


References