[Koha-bugs] [Bug 27755] New: Do not explode when importing patrons without valid guarantor_relationships

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 22 23:43:03 CET 2021


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

            Bug ID: 27755
           Summary: Do not explode when importing patrons without valid
                    guarantor_relationships
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrew at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 26059

To recreate:
- set borrowerRelationship syspref to contain only "guardian"
- create a CSV containing one patron, in a category that can have a guarantor
- make sure your CSV contains a guarantor_id for an existing patron who can
have guarantees
- make sure your CSV doesn't contain "guardian" for the relationship
- attempt to import your CSV with the Import Patrons tool
- get a server error about an invalid relationship


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26059
[Bug 26059] Create guarantor/guarantee links on patron import
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list