Bug 41027 - Ability to delete repeatable required attributes
Summary: Ability to delete repeatable required attributes
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: 25.05
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-15 15:21 UTC by Sara Brown
Modified: 2025-10-15 15:21 UTC (History)
2 users (show)

See Also:
GIT URL:
Sponsorship status: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sara Brown 2025-10-15 15:21:32 UTC
If a library has an attribute that is both repeatable and mandatory, they can't delete one of the attribute values if it's no longer needed. For instance, a library may have a 'Parent/guardian' attribute, and a patron could have it repeated to list two parents/guardians - but then if one of the guardians should be removed, the second instance of the attribute can't be deleted. To recreate:

-Create an attribute that is mandatory and repeatable
-Add the attribute twice to a patron record, and save
-Open the patron record for editing, and clear the data from the second instance of the attribute
-Note that the second instance can't be deleted, and the patron record can't be saved with that attribute empty