Red Hat Bugzilla – Bug 987280
The min number of gears can be set to be bigger than max number.
Last modified: 2015-05-14 20:19:05 EDT
Description of problem:
Set 2 to be minmum gear numbers of app and 1 to be maxmum gear number, and it can be saved, it should not allow to set min number bigger than max number.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Set 2 to be minmum gear number of app from website
2.Set 1 to be maxmum gear number of app from website
3.Click the "Save" button
It can be saved successfully, and restapi result like the following:
It should not allow to set min gear number bigger than max gear number.
Could not reproduce on the latest devenv. The UI automatically switches the min and max values assuming it to be a user input error. If the REST API call is made with the invalid values, an error message is returned.
Tested on devenv_3544, can not reproduce this issue, UI will switch the min and max when they are invalid, so verify this bug, thanks.