Bug 802699 - misaligned error messages appeared when trying to create/rename namespace with illegal names
Summary: misaligned error messages appeared when trying to create/rename namespace wit...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Steve Goodwin
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 808229
TreeView+ depends on / blocked
 
Reported: 2012-03-13 10:06 UTC by Meng Bo
Modified: 2015-05-15 01:05 UTC (History)
3 users (show)

Fixed In Version: rhc-site-0.89.9-1+
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-13 18:31:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rename_with_existing (49.44 KB, image/png)
2012-03-13 10:06 UTC, Meng Bo
no flags Details
create_with_overlength (44.64 KB, image/png)
2012-03-13 10:07 UTC, Meng Bo
no flags Details
devenv_1670 (47.32 KB, image/png)
2012-03-23 02:08 UTC, Meng Bo
no flags Details

Description Meng Bo 2012-03-13 10:06:55 UTC
Created attachment 569620 [details]
rename_with_existing

Description of problem:
misaligned error messages appeared when trying to create/rename domain with existing name, blank name, over length name, invalid name.

Version-Release number of selected component (if applicable):
rhc-site-0.88.4-1.el6_2.noarch

How reproducible:
always

Steps to Reproduce:
1.login to openshift website
2.go to /app/account page
3.try to create/rename namespace with illegal names.
  
Actual results:
misaligned error messages appeared

Expected results:
the error messages should show without UI issues.

Additional info:
see attachments for reference.

Comment 1 Meng Bo 2012-03-13 10:07:48 UTC
Created attachment 569621 [details]
create_with_overlength

Comment 2 Xiaoli Tian 2012-03-13 10:56:28 UTC
It seems this error "Your namespace must be letters or numbers with no spaces or symbols." will always there once you have a failure while creating domain.

Comment 3 Clayton Coleman 2012-03-13 19:04:23 UTC
This is what I was referring to earlier - looks like help-inline in this form wants to be left aligned, but it's not clear that it should.  What does bootstrap do?

Comment 4 Steve Goodwin 2012-03-20 14:42:48 UTC
(In reply to comment #3)
> This is what I was referring to earlier - looks like help-inline in this form
> wants to be left aligned, but it's not clear that it should.  What does
> bootstrap do?

<p class="help-inline">... should be within input-prepend-append div, currently it's not. This will align short messages to the right. Additional messages that are longer will clear left and appear left aligned, which would be appropriate.


Looking at _form.html.haml I'm not sure how to position help-inline to be within that div.

Comment 5 Steve Goodwin 2012-03-20 14:54:07 UTC
ok fix is committed

Comment 6 Meng Bo 2012-03-23 02:08:22 UTC
checked on devenv_1670,
The message "Your namespace must be letters or numbers with no spaces or symbols." stay there forever.
But the error message still not align to the left.

Please refer to attachment.

Comment 7 Meng Bo 2012-03-23 02:08:52 UTC
Created attachment 572124 [details]
devenv_1670

Comment 8 Yujie Zhang 2012-03-27 06:31:17 UTC
(In reply to comment #5)
Tested this issue on devenv_1674, the error message aligned to the left on Chrome17,but on firefox10,still has this issue. And the message "Your namespace must be letters or numbers with no spaces or symbols." will there forever,is this expected?

Comment 9 Fabiano Franz 2012-03-29 20:04:45 UTC
Fixed.

Comment 10 Yujie Zhang 2012-03-30 07:42:15 UTC
(In reply to comment #9)
Verify this bug on devenv-stage_154, it has been fixed now.


Note You need to log in before you can comment on or make changes to this bug.