[Koha-bugs] [Bug 12133] Guarantor requirements when registering a patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 7 13:19:31 CEST 2023


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

--- Comment #38 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
Okay, "Child cannot be guarantor" error happens because $patron_category needs
"can_be_guarantee" value set as 0. 

"Invalid value passed, borrowers.updated_on=SCALAR(0x558a5143c3d8) expected
type is datetime#" happens because calling store for $child2 a.k.a modding
patron sends "updated_on" as a scalar. This can be solved with calling
discard_changes() after first time calling $child2->store succesfully.

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


More information about the Koha-bugs mailing list