Red Hat Bugzilla – Bug 869494
Wrong display of scaling page when user have more than 20 gears.
Last modified: 2015-05-14 21:15:13 EDT
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):
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
Wrong display of scaling page as attachment #1 [details]
The display should be correct.
On devenv_2370,this page is correct,details see in attachment #2 [details].
Created attachment 632547 [details]
Created attachment 632548 [details]
(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!
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
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!
Created attachment 633685 [details]
The scale page still displayed not well.
We won't hit 20+ gears in production for a while, lowering severity. Will fix this week if possible.
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
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!