mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #55462
[Bug 1843509] Re: Bulk delete of users results in warning message and site unavailable
Commit hash: 6399ce8c8350232b535b58466b218bfa0b56c0bc
Environment tested: Master
Browser tested: Chrome
Theme used: Raw
PRECONDITIONS:
------------------------
1) Institution One exists and has the following members
a) User1, User2, User3 through to .... > User10
TEST STEPS:
------------------------
1) Browse to Admin menu > People > User Search
2) Select User1, User2 through to ... User5
3) Click the edit selected user button (bottom of results table)
4) Select the Delete users tab and click the delete users button
5) Verify conformation message is displayed and selected users are deleted ✔
6) Verify that there are no error message displayed ✔
Catalyst QA Approved ✔
--
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/1843509
Title:
Bulk delete of users results in warning message and site unavailable
Status in Mahara:
In Progress
Bug description:
1. Have an institution test, then add a few members
2. Go to the user search, filter by institution and select all members
3 Select edit selected users, then delete them
Expected results, users are successfully deleted
Actual results:
warnings are produced and Mahara site becomes unavailable.
One of the warnings:
[WAR] c8 (lib/errors.php:859) Failed to get a recordset: postgres8 error: [-1: ERROR: update or delete on table "view" violates foreign key constraint "arteanno_vie_fk" on table "artefact_annotation"
DETAIL: Key (id)=(261) is still referenced from table "artefact_annotation".] in adodb_throw(DELETE FROM "view" WHERE "id" = ? , Array)Command was: DELETE FROM "view" WHERE "id" = ? and values was (0:261)
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1843509/+subscriptions
References