PHPunit fails uninstall process due to foreign key
Bug #1798663 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Unassigned |
Bug Description
We get this error:
[DBG] f5 (lib/dml.php:157) postgres8 error: [-1: ERROR: cannot drop constraint tst_oautservreg
[DBG] f5 (lib/dml.php:157) DETAIL: constraint tst_ltiasse_oau_fk on table tst_lti_assessment depends on index tst_oautservreg
Due to having a foreign key between installed modules and the module referencing the key tries to delete first
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → Low |
milestone: | none → 18.10rc2 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
milestone: | 18.10rc2 → 18.10.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/9241 /git.mahara. org/mahara/ mahara/ commit/ 8649464f04bec78 3d862dfd890fc49 d3cdf5337b
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 8649464f04bec78 3d862dfd890fc49 d3cdf5337b
Author: Robert Lyon <email address hidden>
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: Ic381249829fe98 919b82a79897da4 c47daeea87b
Signed-off-by: Robert Lyon <email address hidden>