[Koha-bugs] [Bug 26911] Update for 18936 can cause data loss if constraints are violated
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 4 01:25:38 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26911
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #112950|0 |1
is obsolete| |
--- Comment #6 from David Nind <david at davidnind.com> ---
Created attachment 112968
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112968&action=edit
Bug 26911: (bug 18936 follow-up) Remove invalid data before copying the circ
rules
UPDATE: changed queries to not touch * values
To test:
1 - Checkout 19.11.x and reset_all
2 - Add a new patron category, itemtype, and branch to your system
3 - Create issuing rules using thise 3 values, and others
4 - Delete the new category, itemtype and branch
5 - Checkout master
6 - Restart_all
7 - updatedatabase
8 - you get errors
9 - repeat 1-5
10 - apply patch
11 - restart_all
12 - updatedatabase
13 - no errors!
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list