https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43231 Bug ID: 43231 Summary: Bug 40658 breaks CLI for 25.11 Initiative type: --- Sponsorship Sponsored status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Keywords: rel_25_11_candidate Severity: blocker Priority: P5 - low Component: Installation and upgrade (command-line installer) Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org CC: aleisha@catalyst.net.nz, dghdghfghfgh04@gmail.com, lucas@bywatersolutions.com, mark@hofstetter.at, martin.renvoize@openfifth.co.uk, nick@bywatersolutions.com, pedro.amorim@openfifth.co.uk, tomascohen@gmail.com Depends on: 40658, 42795 Target Milestone: --- +++ This bug was initially created as a clone of Bug #42795 +++ This happened when trying to upgrade one of our Koha instances from Koha 25.11.04 to 25.11.05: Upgrade to 25.11.04.011 [18:49:23]: Bug 40658 - Ensure local-number is sortable ERROR: Exception 'Koha::Exception' thrown 'Unable to update mappings for index "koha_cust_biblios". Reason was: "mapper [local-number] cannot be changed from type [integer] to [text]". Index needs to be recreated and reindexed' So.. somehow the type is wrong in the index itself which makes me think we need to better catch that case and trigger a full re-index in a background task or something instead when that happens. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40658 [Bug 40658] When sorting by local-number we should use the sort field https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42795 [Bug 42795] Bug 40658 breaks CLI for 25.11 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.