← Back to team overview

mahara-contributors team mailing list archive

[Bug 1798663] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9252
Committed: https://git.mahara.org/mahara/mahara/commit/7b68e08e8582562380b7488b5b73af6b8a57e166
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    18.10_STABLE

commit 7b68e08e8582562380b7488b5b73af6b8a57e166
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Fri Oct 19 08:41:43 2018 +1300

Bug 1798663: Fixing phpunit uninstall

Dealing with the foreign key between installed modules

behatnotneeded

Change-Id: Ic381249829fe98919b82a79897da4c47daeea87b
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
(cherry picked from commit 8649464f04bec783d862dfd890fc49d3cdf5337b)

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

Title:
  PHPunit fails uninstall process due to foreign key

Status in Mahara:
  Fix Committed

Bug description:
  We get this error:

  [DBG] f5 (lib/dml.php:157) postgres8 error: [-1: ERROR:  cannot drop constraint tst_oautservregi_id_pk on table tst_oauth_server_registry because other objects depend on it
  [DBG] f5 (lib/dml.php:157) DETAIL:  constraint tst_ltiasse_oau_fk on table tst_lti_assessment depends on index tst_oautservregi_id_pk

  Due to having a foreign key between installed modules and the module
  referencing the key tries to delete first

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1798663/+subscriptions


References