https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43807 --- Comment #1 from Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> --- Created attachment 207981 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207981&action=edit Bug 43807: Enforce BorrowerMandatoryField in the Koha::Patron->store method This commit adds an exception for a missing mandatory field and enforces it using a check_mandatory_fields option passed to the store method. In future this could be enforced without the option but there are a large number of instances, especially in unit tests that would need updating. Test plan: 1) Set a selection of fields in BorrowerMandatoryField 2) Create a Patron via the API - it should succeed even with some of those fields blank 3) Apply patches and restart_all 4) Re-try the request - an exception should be thrown Assisted-by: Sonnet 5 (Anthropic) -- You are receiving this mail because: You are watching all bug changes.