Bug 695555
Summary: | Transaction failed error when registering a user | ||
---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Kenichi Takemura <ktakemur> |
Component: | Authentication-Internal | Assignee: | Carlos Munoz <camunoz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Alex Eng <aeng> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 1.3-alpha-1 | CC: | aeng, ebaak, mkim, sflaniga, zanata-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 1.5.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-03-07 00:06:56 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 786670 |
Description
Kenichi Takemura
2011-04-12 00:19:43 UTC
Assigning to Scrum product owner for prioritisation. There should ideally be a check to ensure that an email address is mapped to only one user. The email address would be used for various purposes including account reset if required and should not be duplicated. This error is generated because UI validation logic fails to check for duplicate email addresses, but the database *is* preventing the duplicate email address from being stored, thus causing an error. Note that this hasn't been a high priority before now because internal authentication is only used in test environments, not in production. See also https://bugzilla.redhat.com/show_bug.cgi?id=696871 https://bugzilla.redhat.com/show_bug.cgi?id=719176 Bug reproduced with Verion 1.4-SNAPSHOT (20110906-1403), internal authentication. Added email validation when registering a new user with internal authentication. Zanata will now validate that the email address is well formed, as well as that the address is not already taken by another user before allowing the registration attempt to continue. https://github.com/zanata/zanata/commit/0ac42cc809e5ea988978c55767b2bec54782787b VERIFIED in Zanata version 1.5.0-alpha-2-SNAPSHOT (20120220-1431). Validation on duplicate email triggers to prevent this bug from happening. |