Bug 37897

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: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall, phil
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37892
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 15:09:19 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


We should prevent the submit, or catch the exception
Comment 1 Phil Ringnalda 2024-09-11 17:08:24 UTC

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