[Bug 14962] Temp Shelving Location / On Display Module
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14962 --- Comment #654 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211876 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211876&action=edit Bug 14962: (QA follow-up) Align fresh installs with upgrades; follow atomicupdate conventions Fresh install and upgrade ended up with different data: - manage_display_items had a different description in userpermissions.sql and in the atomicupdate. - The DISPLAY_RETURN_OVER authorised values only existed in the optional sample data (with different wording and the typo 'permenant'), so a fresh install without sample data had an empty 'Check in behavior' list, while upgraded sites always had the values. They are system values: move them to the mandatory authorised values, with the wording the upgrade uses. display_items.itemnumber and biblionumber were nullable although a display item is meaningless without them and UNIQUE(display_id, itemnumber) does not stop duplicate rows when itemnumber is NULL. Make them NOT NULL, and have Koha::Display::Item->store always take biblionumber from the item so the API need not (and cannot disagree with it). The atomicupdate now uses Koha::Installer::Output, reports what really happened for each INSERT IGNORE instead of always claiming it added the row, and is named after the bug rather than a topic from an earlier design. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org