Deleting institution error: Collection still exists

Bug #1304144 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
In Progress
Medium
Cecilia Vela Gurovic

Bug Description

The error message needs improving to explain that the institution can't be deleted due to pages / collections still associated with it.

Currently gives a site unavailable message and this error in logs
 Key (name)=(testinstitution) is still referenced from table "collection".] in adodb_throw(DELETE FROM "institution" WHERE "name" = ? , Array)

Tags: regression
Revision history for this message
Aaron Wells (u-aaronw) wrote :

This is probably a regression caused by Mahara 1.6.0 allowing collections to belong to institutions. https://bugs.launchpad.net/mahara/+bug/886080

tags: added: regression
Changed in mahara:
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Cecilia Vela Gurovic (ceciliavg) wrote :

Fixed by another bug fix:

https://bugs.launchpad.net/mahara/+bug/1314440

"the patch https://reviews.mahara.org/3306 also fixes other issues when deleting an institution:

    1. Remove all institution collections
    .."

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.