Bug 804845

Summary: Domain name validation JS breaks form submission box
Product: OKD Reporter: Clayton Coleman <ccoleman>
Component: ocAssignee: Fotios Lindiakos <fotios>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 1.xCC: jkeck, rmillner, xtian, yujzhang
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhc-site-0.89.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-13 18:35:10 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:

Description Clayton Coleman 2012-03-19 22:43:59 UTC
1) Log into new console
2) Enter a domain name like 'abc.'
3) A validation message shows up (using incorrect formatting)
4) Click save

Actual: loading icon spins forever, form is not submitted
Expected: Either form submission is blocked by JS, or succeeds, but not both.

High priority for sprint 8, not sprint 7 exit (can't remove old console with a bug like this).

Comment 1 Xiaoli Tian 2012-03-20 02:01:06 UTC
I think this may be a duplicate of this bug : https://bugzilla.redhat.com/show_bug.cgi?id=803679,

Not only here but also other places.

Comment 2 Fotios Lindiakos 2012-03-20 21:19:55 UTC
Finally found the correct place to stop the spinner on form submission, now it
verifies that there are no errors before starting.

Both bugs had similar fixes although were caused by different issues with the form validation code.

Comment 3 Yujie Zhang 2012-03-21 08:13:53 UTC
Verify this bug on devenv_1668, it has been fixed now.