Is there any chance we could get a fix for this?
Even if it only addresses the most common use case (users have email fields, if the email field is updated currently mailchimp ends up with two users for that UUID - one with the old email, one with the new).
I understand from the comments above that there are some very awkward cases possible, but I'm hoping you could apply the simple fix, which would probably help 80% of installs who have the problem and then proceed to the complex use case in the future.
Patch 5633 works for me as well, when manually applied to Drupal 9.5.10.
Thanks!
Update:
Bug is still there with in the following config:
Drupal Version: 9.5.10
Web Server: LiteSpeed
PHP Version 8.1.18: (more information)
Memory limit: 1024M
Database Version: 8.0.33
System: MySQL, Percona Server, or equivalent
I've added a text field to users ( /admin/config/people/accounts/fields ) for phone number.
Using Module: "field formatter pattern" 1.0.0 with the following pattern: "[0-9]{8,10}"
(Note I have tested without the field formatter pattern and the problem still exists
To replicate:
- Add a user, give them a phone number of "12345678". Save
- Edit that user again.
- Change the phone number to "012345678". Save.
- Note that the phone number has not changed and is still "12345678".
I'm also seeing the same bug - in a text field being used for phone numbers attached to user accounts.