[Bug 41421] New: Bug 35830 DB update must be idempotent
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41421 Bug ID: 41421 Summary: Bug 35830 DB update must be idempotent Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: critical Priority: P5 - low Component: Database Assignee: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org To recreate: -Checkout 25.05.x -Add the edit_borrower permission to at least 1 borrower -sudo koha-mysql kohadev -UPDATE systempreferences SET value='25.0505003' WHERE variable='Version'; -updatedatabase, you should see: Upgrade to 25.05.05.004 [13:53:15]: Bug 35830 - Add permission borrowers:merge_borrowers Added new permission 'merge_borrowers' Added 'merge_borrowers' permission to existing users with 'edit_borrowers' -major version upgrade with git checkout 25.11.x -updatedatabase it dies: Upgrade to 25.06.00.028 [13:53:59]: Bug 35830 - Add permission borrowers:merge_borrowers Added new permission 'merge_borrowers' ERROR: {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Duplicate entry '19-4-merge_borrowers' for key 'PRIMARY' at /kohadevbox/koha/C4/Installer.pm line 82 -- 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=41421 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |35830 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35830 [Bug 35830] Add separate permission for Merging Patrons -- 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=41421 --- Comment #1 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 190391 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190391&action=edit Bug 41421: [25.11.x] Fix DB update -- 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=41421 --- Comment #2 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 190392 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190392&action=edit Bug 41421: [25.05.x] Fix DB update -- 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=41421 --- Comment #3 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 190393 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190393&action=edit Bug 41421: [24.11.x] Fix DB update -- 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=41421 --- Comment #4 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 190394 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190394&action=edit Bug 41421: [24.05.x] Fix DB update -- 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=41421 --- Comment #5 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 190395 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190395&action=edit Bug 41421: [22.11.x] Fix DB update -- 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=41421 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |lucas@bywatersolutions.com |ity.org | -- 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=41421 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41421 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41421 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41421 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.derscheid@lmscloud.de Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41421 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41421 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |25.11.00, 25.05.06, release notes| |24.11.11, 24.05.16, | |22.11.33 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41421 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to oldoldstable --- Comment #6 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Pushed to main, thanks all! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41421 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |paul.derscheid@lmscloud.de |y.org | Resolution|--- |FIXED Status|Pushed to oldoldstable |RESOLVED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41421 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m Text to go in the|25.11.00, 25.05.06, |25.11.00,25.05.06,24.11.11, release notes|24.11.11, 24.05.16, |24.05.16,22.11.33 |22.11.33 | -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org