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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 17 14:36:54 CEST 2019


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

Emmi Takkinen <emmi.takkinen at outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #91482|0                           |1
        is obsolete|                            |

--- Comment #11 from Emmi Takkinen <emmi.takkinen at outlook.com> ---
Created attachment 94371
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94371&action=edit
Bug 12133: (QA Follow up) Guarantor requirements when registering a patron

Add three requirements when registering a new patron:

- A child patron must have a guarantor. This is controlled by
  a new syspref ChildNeedsGuarantor.
- A guarantor has to be a patron. This is controlled by
  a new syspref GuarantorHasToBePatron.
- A guarantor cannot be a guarantee.

Test plan:
-Add child patron without guarantor or child patron with guarantee
as guarantor successfully.
- Apply this patch.
- Add a child patron with a guaranteer as guarantor. Error is raised.
- Turn syspref "ChildNeedsGuarantor" ON.
- Add a child patron without a guarantor and error "Child needs a
guarantor" is raised.
- Add guarantor. Guarantor can either be existing patron or added with
"Contact" section. Save without errors.
- Turn syspref "GuarantorNeedsToBePatron" ON.
- Form fields for "Contact" section aren't displayed and only existing
patron can be added as guarantor.

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


More information about the Koha-bugs mailing list