Bug 38950

Summary: Patron attribute fields are copied when account is duplicated
Product: Koha Reporter: Rebecca Coert <rcoert>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, kyle.m.hall, rcoert
Version: 24.05   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Patron Attribute Flags Set to Yes

Description Rebecca Coert 2025-01-22 23:07:45 UTC
Created attachment 176939 [details]
Patron Attribute Flags Set to Yes

We've noticed that any patron Additional attributes and identifiers that are set to "YES" are copied over when we Duplicate a patron account (see attached). 

Steps to recreate:

    Open existing borrower account
    Set Additional attributes and identifiers flags to "YES"  (save and close)
    Click Duplicate
    Review Additional attributes and identifiers on duplicated account


We would like to see this behavior not occur, as attribute flags are an individual setting and specific to each patron.
Comment 1 Katrin Fischer 2025-01-23 14:25:55 UTC
I am not sure if the use case of the fields are the same everywhere.
Would be good to have some more eyes on this before we change behavior to check if this maybe needs to be configurable.