Hello,
I have issue on user account form which make me cannot save a user account page unless I change the unique field value, which is wrong because there is no duplicate value elsewhere.
Steps to reproduce
1. Create a field at admin/config/people/accounts/fields
2. Set the field as unique field at /admin/config/people/accounts
3. Edit a user account and set value to the field & Save.
4. Edit another user account and set value to the field (uniquely) & Save
5. Edit any user account & simply Save (doesn't change any field value, just save)
6. Error message appear "The field field_xxxx has to be unique" which is wrong because there is no other user account has the same value.
Drupal 10.2.7
PHP 8.2.19
Issue fork unique_field-3453349
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nexg commentedUpdate
Comment #5
nilesh.addweb commentedPlease review MR !19
Comment #7
astonvictor commentedthanks for the patch.
released as 2.1 version
Comment #8
astonvictor commentedComment #9
astonvictor commented