http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12838 Bug ID: 12838 Summary: Deleting a borrower orphans that borrower's lists Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Lists Assignee: gmcharlt@gmail.com Reporter: liz@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Currently if any borrower has a list, and that borrower is deleted, the list is effectively abandoned and unable to be deleted until that list has been associated with an existent user. A typical situation where this becomes an annoying problem: Librarian A has a meticulously kept and well used list. Librarian A changes jobs, her staff user is deleted. The meticulously kept and well used list is now unable to be edited or deleted by her replacement, until the list has been updated to be associated with another staff user. This has to be done at the database level. There are several ways we could approach fixing this: * simply delete all lists when a borrower is deleted (ok for regular patrons, probably not ok for staff members) * Delete all orphaned private lists. Assign all public orphaned lists to user 0 and hide them from the OPAC interface. Possibly necessary would be a cron job to periodically clean up unclaimed lists that belong to borrower 0. Also allow privileged staff to assume ownership of a public list that belongs to borrower 0. * ...or some other solution. -- You are receiving this mail because: You are watching all bug changes.