Bug 869494

Summary: Wrong display of scaling page when user have more than 20 gears.
Product: OKD Reporter: Wei Sun <wsun>
Component: WebsiteAssignee: N. Harrison Ripps <hripps>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: hripps, mgao, yujzhang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-openshift-origin-console-1.2.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-19 19:25:37 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:
Embargoed:
Attachments:
Description Flags
wrongINT
none
rightdev
none
The scale page still displayed not well. none

Description Wei Sun 2012-10-24 05:27:59 UTC
Description of problem:
Create an scalable app,and click button to scale up it,will get the wrong display of scaling page.

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

How reproducible:
always

Steps to Reproduce:
1.Go to website and login
2.Create a scalable app
rhc app create -a $name -t php-5.3 -s 
3.click the button to scale up app

Actual results:
Wrong display of scaling page as attachment #1 [details]

Expected results:
The display should be correct.

Additional info:
On devenv_2370,this page is correct,details see in attachment #2 [details].

Comment 1 Wei Sun 2012-10-24 05:28:47 UTC
Created attachment 632547 [details]
wrongINT

Comment 2 Wei Sun 2012-10-24 05:29:22 UTC
Created attachment 632548 [details]
rightdev

Comment 3 Yujie Zhang 2012-10-25 09:56:23 UTC
(In reply to comment #2)
Tested on INT again, the scaling page is still different with dev env, could you please help to check, I am not sure which way is the correct scaling way now, please make it to be consistent, thanks!

Comment 4 Clayton Coleman 2012-10-25 19:24:29 UTC
The value depends on how many gears your user is allocated.  If you have more than 20 gears you'll get the input boxes - if you have less you'll get the dropdowns.  When you have more than 20 it should use an input box but it was using the textarea accidentally.

Fixed in https://github.com/openshift/origin-server/pull/762

Comment 5 Mengjiao Gao 2012-10-26 07:25:29 UTC
   Tested this issue on devenv_2385. When my account have more than 20 gears, I can see input boxes instead of the dropdowns. 
   The input boxed did not display as the same as the attachment #1 [details].  But I found the input boxes still displayed not very well as the attachment #3 [details] shown . Hope you can continue to fix this issue. Thanks!

Comment 6 Mengjiao Gao 2012-10-26 07:27:12 UTC
Created attachment 633685 [details]
The scale page still displayed not well.

Comment 7 Clayton Coleman 2012-10-30 17:09:57 UTC
We won't hit 20+ gears in production for a while, lowering severity.  Will fix this week if possible.

Comment 8 N. Harrison Ripps 2012-11-19 15:27:46 UTC
Assigned.

Comment 9 N. Harrison Ripps 2012-11-20 13:21:58 UTC
Our form handler wasn't properly formatting hints for inline form elements. This has been fixed.

Pull request: https://github.com/openshift/origin-server/pull/950

Comment 10 Mengjiao Gao 2012-11-21 02:55:45 UTC
Tested this issue on devenv_2502, and have covered all browsers. For users have more than 20 gears, the input boxes in scale page can display well now . So I will put it to verified. Thanks!