Red Hat Bugzilla – Bug 109964
Editing a user on /ccm/admin/ fails with "email is not unique"
Last modified: 2007-04-18 12:59:26 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925
Description of problem:
When one edits a user account on /ccm/admin/ without changing the
primary email, WAF complaints that the "Primary email is not unique".
The same happens for the screen name, if it is not empty.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to /ccm/admin/
2. Click on Browse and select a user
3. Click on Edit, then on Save
Actual Results: "Primary email is not unique"
Expected Results: When checking if the email or screen name is in
use, the code has to ignore the account that is being edited.
This was actually a bug in persistence SQL generation for compound
filters. Fixed on 6.0.x (38171) and dev (38205).