Error when use table username instead email

Created on 13 November 2024, 2 months ago

Problem/Motivation

Error when user table username instead email

Steps to reproduce

Login with exist account then get error
Drupal\Core\Database\IntegrityConstraintViolationException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '403658-en' for key 'PRIMARY': UPDATE {users_field_data} SET mail=:db_update_placeholder_0, created=:db_update_placeholder_1, uid=:db_update_placeholder_2 WHERE name = :db_condition_placeholder_0; Array ( [:db_update_placeholder_0] => adrian.roethlisberger@alloga.ch [:db_update_placeholder_1] => 1701388800 [:db_update_placeholder_2] => 403658 [:db_conditio

Proposed resolution

Add more code check email or username

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇻🇳Vietnam nhanlq@outlook.com Ho Chi Minh City, VN

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024