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

--- Comment #695 from Jake Deery (kwenoch) <[email protected]> ---
Created attachment 211987
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211987&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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to