← Back to team overview

mahara-contributors team mailing list archive

[Bug 1798663] [NEW] PHPunit fails uninstall process due to foreign key

 

Public bug reported:

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

** Affects: mahara
     Importance: Low
         Status: In Progress

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => Low

** Changed in: mahara
    Milestone: None => 18.10rc2

-- 
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:
  In Progress

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


Follow ups