Bug 37896

Summary: Guarantor relationships should be form validated when editing/adding a patron
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: baptiste.wojtkowski, gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nick Clemens (kidclamp) 2024-09-11 14:53:12 UTC
To recreate:
1 - Find a patron of child patron type.
    KTD sample23529000197047 (Lisa Charles)
2 - Edit, add a guarantor
3 - Do not select a relationship
4 - Save
5 - KO! Boom! 
   Invalid relationship passed, '' is not defined. at /usr/share/perl5/Exception/Class/Base.pm line 88
6 - We should prevent the submit, or catch the exception
Comment 1 Phil Ringnalda 2024-09-11 17:08:24 UTC
*** Bug 37897 has been marked as a duplicate of this bug. ***
Comment 2 Baptiste Wojtkowski (bwoj) 2024-09-23 10:00:05 UTC

*** This bug has been marked as a duplicate of bug 37528 ***