[Koha-bugs] [Bug 14570] Make it possible to add multiple guarantors to a record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 19 17:20:09 CEST 2019


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

--- Comment #236 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 92348
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92348&action=edit
Bug 14570: Handle missing 'relationship' in atomicupdate (bad data)

This patch adds two steps to the upgrade process:
- Handle the pathologic case in which there's a guarantorid and no
'relationship'.
- Performs a cleanup on the relevant columns when the guarantor data
contains a guarantorid, and is then migrated into the
borrower_relationships table. The original code left the information
in the borrowers table, so no clear separation between guarantors as
patrons and the virtual ones.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list