Bug 38971

Summary: Patron attributes always considered modified when personal detail edited
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: REOPENED --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38528
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jonathan Druart 2025-01-27 10:00:35 UTC
Say you have some patron attributes. Modify them at the OPAC, approve the change.
Then go to your personal detail again, save without modifying anything: the staff get an entry in the "pending patron modifications" list

https://snipboard.io/s9JVjA.jpg
Comment 1 Katrin Fischer 2025-01-27 11:37:47 UTC
I think this is probably a duplicate.

*** This bug has been marked as a duplicate of bug 30431 ***
Comment 2 Katrin Fischer 2025-01-27 11:38:49 UTC
I think this is probably a duplicate. Hm, and a regression from 35929?
Comment 3 Owen Leonard 2025-01-27 12:33:38 UTC
I think this is a new bug. The bug relates only to patron attributes, and only to the situation where the patron has an existing attribute and they submit the OPAC form again--with or without any other changes.

So it is a regression, because Koha doesn't tell the user no changes were made if no changes were made. But it is also true that the patron could make changes to other fields and Koha would still think the patron attribute was changed.