Bug 1056308

Summary: User edit profile page missing field validation for empty email address
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-UIAssignee: Patrick Huang <pahuang>
Status: CLOSED CURRENTRELEASE QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2CC: pahuang, zanata-bugs
Target Milestone: ---   
Target Release: 3.3   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 3.3.0-SNAPSHOT (20140218-0947) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-20 05:47:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Damian Jansen 2014-01-21 23:16:45 UTC
Description of problem:
The email field on the Edit Profile page cannot be empty. The field validation is missing and, if submitted without text in that field, causes a ConstraintViolationException.

Version-Release number of selected component (if applicable):

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in, click Settings on the Dashboard / in menu
2. Click Edit Profile
3. Remove the text from the Email field
4. Press Save

Actual results:
ConstraintViolationImpl{interpolatedMessage='may not be empty', propertyPath=email, rootBeanClass=class org.zanata.model.HPersonEmailValidationKey, messageTemplate='{org.hibernate.validator.constraints.NotEmpty.message}'}

Expected results:
User should not be able to get this far. The field should have the "*" to indicate it is required, and validate empty input for that field.

Additional info:

Comment 1 Patrick Huang 2014-02-12 06:33:03 UTC

Comment 2 Damian Jansen 2014-02-19 01:50:24 UTC
Verified at 1bf60cc19d6941929f586c3e8d62390fbb41644d

Comment 3 Sean Flanigan 2014-03-20 05:47:20 UTC
Closing VERIFIED bugs for Zanata server 3.3.2.