Bug 1419887
Summary: | Hide/Show advanced config for invalid automatic hpa settings has different Create button status | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | XiaochuanWang <xiaocwan> | ||||
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | ||||
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.5.0 | CC: | aos-bugs, jokerman, mmccomas, tdawson | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
On the add to project page, if you enter invalid setting for some advanced options, then hide the advanced options, you could submit the form with invalid values. This could cause errors creating some resources like horizontal pod autoscalers.
The web console was changed to correctly validate these fields so that you can't submit the form with invalid values.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-04-12 19:12:01 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: |
|
Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/a6ecc112fc52d95466e9c7245e137fcf59778df6 Bug 1419887 - Validate advanced form inputs that are hidden When advanced options values have errors and a user hides them, still disable the save button. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1419887 Found PR https://github.com/openshift/origin-web-console/pull/1228 is merged. Tested on 3.5.0.18 and it's not reproduced with original steps. This bug could be verified if status changed to ON_QA Verified on 3.5.0.18 with original steps Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0884 |
Created attachment 1248365 [details] screenshot for step 5 Description of problem: Create an app from image, input app name and git repo url, show advanced options, select "Automatic" for scaling strategy, the "Create" button is disabled, but the button will be enabled when user hide the advanced options with the settings is saved. Version-Release number of selected component (if applicable): openshift v3.5.0.17+c55cf2b How reproducible: Always Steps to Reproduce: 1. Click "Add to project" 2. Select an image and choose a version, input app name and github url. 3. Hit "show advanced options", select "Automatic" for scaling strategy, check the Create button 4. Hide the "show advanced options" and check the Create button. 5. Hit the Create button Actual results: 3. The button is disabled 4. The button is enabled 5. There is an error message that the HPA is invalid, please see the screenshot Expected results: 3 and 4 should has same status for Create button Additional info: