[Bug 16872] New: You should not be allowed to deleted a record with open orders attached
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 Bug ID: 16872 Summary: You should not be allowed to deleted a record with open orders attached Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Bug 10869 and Bug 10758 try to deal with the fallout from deleting a record with an order attached. I think, rather than fixing the order end we should prevent the deletion of the record in the first place to avoid causing an issue. This case also affects EDI ordering as item cannot be received when a title has been deleted -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |kyle@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=10869, | |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=10758 CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Nick, There is already a big warning when you try to delete a record used in orders. I do not understand why we should block the user to do it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 --- Comment #2 from Nick Clemens <nick@bywatersolutions.com> --- (In reply to Jonathan Druart from comment #1)
Nick, There is already a big warning when you try to delete a record used in orders. I do not understand why we should block the user to do it.
Hmm...yes you do get a big warning, I guess I still find it bothersome that the user can't fix it once they have made this decision, maybe instead of preventing delete we should add a method for reattaching the order to a record? Also, if you 'Delete items in a batch' and choose 'Delete record if no items remain' you do not receive the warning -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|You should not be allowed |You should not be allowed |to deleted a record with |to delete a record with |open orders attached |open orders attached CC| |veron@veron.ch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 Sandre Cunha <cunha@monterey.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cunha@monterey.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Does it warn on the cataloguing side too? I have had libraries deleting records who are 'on order' by accident a few times - you will need SQL then to clean it up. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |severine.queune@bulac.fr -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 --- Comment #4 from Kyle M Hall <kyle@bywatersolutions.com> --- I don't think a warning is enough. We should block users from deleting records with open orders attached because it creates a situation where manual changes to the database must be done to repair orders where the record has been deleted. Consider that a library may have multiple divisions, where one librarian is "cleaning up" records by deleting them, and the other is ordering items and keeps finding his or her on order records are suddenly deleted. Depending on the size of the library system, it could take the librarian quite a while to find out why those records are suddenly gone. (In reply to Jonathan Druart from comment #1)
Nick, There is already a big warning when you try to delete a record used in orders. I do not understand why we should block the user to do it.
-- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 --- Comment #5 from Kyle M Hall <kyle@bywatersolutions.com> --- Perhaps we need a new user permission or system preference to prevent deletion of records with open orders on them. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think it's ok to block users from deleting and ask them to cancel the orders first. Maybe with a link to the order in acq if they have the right permission? Separate problem, but related to deleting the records: Once you deleted the record the cancelled order remains visible, but has no title anymore. That's not helpful and we can't delete cancelled orders either. The whole topic of how to handle deletes is something we should tackle. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 Jessie Zairo <jzairo@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzairo@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE CC| |andrew@bywatersolutions.com --- Comment #7 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- *** This bug has been marked as a duplicate of bug 27893 *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16872 --- Comment #8 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Marking this as a duplicate of a newer bug as the newer bug has a little work on it already. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org