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

Chris Cormack <ch...@bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #167376|0                           |1
        is obsolete|                            |

--- Comment #2 from Chris Cormack <ch...@bigballofwax.co.nz> ---
Created attachment 167563
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167563&action=edit
Bug 37000: [Bug 36120 follow-up] Improve reliability of database update

This patch adds a series of fallthroughs to ensure pickup_library_id is
always set prior to adding the NOT NULL constraint.

We initially only looked at items.homebranch but as that's a nullable
field itself, we now look at items.holdingbranch before finally
defaulting to the first available branch in the branches table in the
worst case.

Signed-off-by: Chris Cormack <ch...@bigballofwax.co.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to