[Bug 22722] New: Deleting a library leaves the letters and shows them belonging to "All libraries"
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22722 Bug ID: 22722 Summary: Deleting a library leaves the letters and shows them belonging to "All libraries" Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: pasi.kallinen@koha-suomi.fi QA Contact: testopia@bugs.koha-community.org Target Milestone: --- When you delete a library, any notices or slips belonging to it are not deleted. If there are any letters for a library which does not exist, the Notices tool shows the letter as belonging to "All libraries". This could lead to problems, when an admin sees two identical lines in the tool, and then deletes the one actually belonging to all libraries. -- 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=22722 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Probably a missing FK? -- 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=22722 Rogan Hamby <rogan.hamby@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rogan.hamby@gmail.com --- Comment #2 from Rogan Hamby <rogan.hamby@gmail.com> --- There is definitely a missing foreign key. Right now with the sample data that is loaded if you have a test system letter entries have an empty space to get around the NOT NULL constraint. It's fairly straight forward to add the FK but (and I ask this as someone new to looking to contribute more to Koha) how does the community view adding this? It would break the sample data and obviously need to be taken into account for upgrade scripts. -- 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=22722 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think it doesn't necessarily break things, we can have an FK that allows NULL - but I guess cleaning up the old left over data might require some warning? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org