Bug 40506

Summary: 'OPAC mandatory' selection for attribute setting should require that 'Staff interface mandatory' is also selected
Product: Koha Reporter: Sara Brown <sbrown>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: hebah, lucas
Version: 25.05   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35635
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Sara Brown 2025-07-24 20:05:22 UTC
If a library has 'Display in OPAC' and 'OPAC mandatory' selected for an attribute, but a patron with no data in that attribute attempts to edit other information in their account from the OPAC, Koha gives a 500 error and doesn't save the edits. 'OPAC mandatory' should only be available if libraries also have 'Staff interface mandatory' selected to avoid this.