[Koha-bugs] [Bug 24741] Recent creation of unique index on library_groups erroneously removes rows

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 3 09:59:33 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24741

--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 99978
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99978&action=edit
Bug 24741: (bug 21674 follow-up) Fix destructive update DB 19.12.00.017

Previous version of the SQL query did not deal correctly with subgroup.

Test plan:
checkout the following commit to be just before 017
  commit 715da06db557edc4b1baa51cc278fdac362c01c4
  Bug 22868: DBRev 19.12.00.016
reset_all # recreate the DB
Create a complex tree of library groups, with several groups, subgroups,
etc.
When you add a new library, refresh the page to add it several time.
When ready, git checkout master, restart all the things, execute the
updatedatabase script, then go to the library groups page.
You should see that the duplicated entries have been removed, but
subgroups have not been deleted

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list