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

Emmi Takkinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Emmi Takkinen <[email protected]> ---
The problem comes from Koha::Patron->store called in update_lastseen. Since we
validate guarantor in Koha::Patron->store but don't store them in there, new
call to store fails because it doesn't receive guarantor info as parameter.

To test:

1. Select option "Creating a patron" in "TrackLastPatronActivityTriggers"
syspref.
2. Enable syspref "ChildNeedsGuarantor" and make sure you have options in
"borrowerRelationship" syspref.
3. Create a guarantee patron, fill all required fields and add guarantor for
patron.
4. Attempt to save patron.
=> Error box is displayed with text "The following fields are wrong. Please fix
them.".
=> Logs show error "Patron creation failed! - [Child patron needs a
guarantor]".

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to