Bug 1515527 - Need refresh manually after clear changes when add env from configmap/secret
Summary: Need refresh manually after clear changes when add env from configmap/secret
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.9.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-21 02:14 UTC by Yanping Zhang
Modified: 2018-03-28 14:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the "Clear Changes" button did not correctly clear edits to the "Environment From" variables in the web console environment variable editor. The button now correctly resets edits to "Environment From" variables.
Clone Of:
Environment:
Last Closed: 2018-03-28 14:12:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:12:37 UTC

Description Yanping Zhang 2017-11-21 02:14:45 UTC
Description of problem:
Add env from configmap/secret on dc envirionment page, after choose a configmap/secret, click "Clear Changes", the page doesn't change automatically, need refresh manually. 

Version-Release number of selected component (if applicable):
openshift v3.7.9
kubernetes v1.7.6+a08f5eeb62

How reproducible:
Always

Steps to Reproduce:
1.Create dc and secret.
#oc secrets new testsecret /dev/null
#oc run testdc --image=aosqe/hello-openshift
2.On "hello-openshift" dc page, under "Environment" tab, click "Add ALL Values from Config Map or Secret", choose secret "testsecret", click "Clear Changes".
3.

Actual results:
2.Click "Clear Changes" successfully, but the change is still shown on page, need to refresh the page to make the change disappear.

Expected results:
3.The change should disappear automatically.

Additional info:

Comment 2 openshift-github-bot 2017-11-28 15:45:17 UTC
Commits pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/fa287816e892323c483ad635222740b7e69aa14f
Bug 1515527 - Correctly clear envFrom changes

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1515527

https://github.com/openshift/origin-web-console/commit/3103e3c2d8d250ba728d388f879c6c82b513c592
Merge pull request #2532 from spadgett/clear-env-from

Automatic merge from submit-queue.

Bug 1515527 - Correctly clear envFrom changes

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1515527

/kind bug
/assign @jwforres

Comment 4 Yanping Zhang 2018-01-03 08:25:33 UTC
Checked on OCP v3.9.0-0.9.0, when click "Clear Changes" on dc environment tab, the page could get refreshed automatically, and the change disappears.
The bug has been fixed, so move it to Verified.

Comment 7 errata-xmlrpc 2018-03-28 14:12:08 UTC
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-2018:0489


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