mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #46476
[Bug 1748079] Re: Can't delete institution when users have accepted its privacy statement
This would also need to be checked for the Terms and Conditions as they
rely on pretty much the same code.
** Summary changed:
- delete institution when users have accepted its privacy agreement
+ Can't delete institution when users have accepted its privacy statement
--
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/1748079
Title:
Can't delete institution when users have accepted its privacy
statement
Status in Mahara:
Confirmed
Bug description:
to replicate:
Set privacy switch to true in 'Site opstions' -> "Institutions'
Create an institution and add a privacy to it
Add a user to the institution, login as the user and accept the privacy statement
Remove the user from the institution
Try to delete the institution
An error is displayed and the institution is not deleted:
[WAR] 92 (lib/errors.php:859) Failed to get a recordset: postgres8 error: [-1: ERROR: update or delete on table "site_content_version" violates foreign key constraint "usragre_sit_fk" on table "usr_agreement"
DETAIL: Key (id)=(5) is still referenced from table "usr_agreement".] in adodb_throw(DELETE FROM "site_content_version" WHERE "institution" = ? , Array)Command was: DELETE FROM "site_content_version" WHERE "institution" = ? and values was (0:institutioni)
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1748079/+subscriptions
References