-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZEE-3453: Fixed admin user draft create during frontend login #162
EZEE-3453: Fixed admin user draft create during frontend login #162
Conversation
@@ -824,8 +824,8 @@ ezurlalias_ml_incr: | |||
- { id: 41 } | |||
ezurlwildcard: { } | |||
ezuser: | |||
- { contentobject_id: 10, email: [email protected], login: anonymous, password_hash: $2y$10$35gOSQs6JK4u4whyERaeUuVeQBi2TUBIZIfP7HEj7sfz.MxvTuOeC, password_hash_type: 7 } | |||
- { contentobject_id: 14, email: [email protected], login: admin, password_hash: $2y$10$FDn9NPwzhq85cLLxfD5Wu.L3SL3Z/LNCvhkltJUV0wcJj7ciJg2oy, password_hash_type: 7 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this change affects integration tests in migration bundle. Please ping me if/when this change goes through.
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA approved on Ibexa Commerce 3.2.4-dev with diff & patch.
Could you merge it up? |
v3.2
Exception
Email '[email protected]' is used by another user. You must enter a unique email.
is thrown during frontend login by admin user. Commerce provides user update byCustomerProfileData
inEzErpCustomerProfileDataService::storeCustomerProfileDataInEz
during frontend login but updated content cannot be published because admin user has the same email address as a anonymous user and content draft is created.By default email field is set as unique but clean data provides same email address for admin and anonymous users (52e9563#diff-ac44ef55a5bfbb578a08eca35f5a9ded0d2db5f6247e9fdae12cc333c645d342).
Checklist:
@ezsystems/php-dev-team
).