Red Hat Bugzilla – Bug 719176
Edit profile: "duplicate email" is shown even if user press save without changing email
Last modified: 2012-03-06 19:06:51 EST
Description of problem:
When editing profile, if a user hasn't changed email but click "Save",
then error message "duplicate email" is shown.
This is somewhat misleading.
Version-Release number of selected component (if applicable):
Zanata version 1.4-SNAPSHOT (20110706-0602)
Steps to Reproduce:
1. Login zanata server
2. Click "My Profile"
3. Click "Edit profile"
4. Click "Save"
Error message "duplicate email"
1) save name without triggering "email verification"; or
2) showing "nothing changed" if name is not changed either.
Yes, it should save the change regardless, sending an email if and only if the address has changed. I don't think we need to detect "nothing changed" as such.
Assigning to Scrum product owner for prioritisation.
*** Bug 741804 has been marked as a duplicate of this bug. ***
This bug is still present in 1.4.2 deployed on https://translate.zanata.org
Removed annotation based validation for the profile case, replacing it with "manual" validation in the ProfileAction class. The annotation based validation was moved to the registration page where it made more sense to use it.
VERIFIED in Zanata version 1.5.0-alpha-2-SNAPSHOT (20120220-1431)