Bug 1558863
| Summary: | Cannot create configmap without key on web and "Add Item" on cm editing page does not work | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | XiaochuanWang <xiaocwan> |
| Component: | Management Console | Assignee: | Samuel Padgett <spadgett> |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.9.0 | CC: | aos-bugs, jokerman, mmccomas, spadgett, yapei |
| Target Milestone: | --- | ||
| Target Release: | 3.9.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, the console would not let you add new keys when editing a config map that was empty. Clicking "Add Item" in the editor would have no effect.
The bug has been fix, and you can now correctly add items when editing a config map that has none.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-05-17 06:43:34 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: | |||
|
Description
XiaochuanWang
2018-03-21 07:36:26 UTC
Caused by:
TypeError: Cannot read property 'push' of undefined
at ChildScope.$scope.addItem (editConfigMapOrSecret.js:23)
at fn (eval at compile (angular.js:15126), <anonymous>:4:212)
at expensiveCheckFn (angular.js:16213)
at callback (angular.js:26592)
at ChildScope.$eval (angular.js:17994)
at ChildScope.$apply (angular.js:18094)
at HTMLAnchorElement.<anonymous> (angular.js:26597)
at HTMLAnchorElement.dispatch (jquery.js:5206)
at HTMLAnchorElement.elemData.handle (jquery.js:5014)
Commits pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/5433d47c78e13142f5899b0d7295c4180ea5a92a Bug 1558863 - Fix bug editing empty config map Don't push items onto an undefined config map `data` array. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1558863 https://github.com/openshift/origin-web-console/commit/74cdd2b4908158c2400c41ef7c57aaf05b7598f9 Merge pull request #2906 from spadgett/empty-config-map-add Automatic merge from submit-queue. Bug 1558863 - Fix bug editing empty config map Don't push items onto an undefined config map `data` array. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1558863 /assign @benjaminapetersen Hi Sam Seems some recent 3.9.z fixes are not bumped into OSE repo correctly, thus some PR could not be verified time after time, could you please check what's going on? Changing to MODIFIED to wait the fix lands in This fix should be there. Web console fixes no longer go to the OSE repo since it's a separate image. Sorry, I mixed it up with some older version bugs, yes, the fix is already there Issue fixed on OpenShift Web Console: v3.9.22 Could successfully update config map via "Add Item" on edit/config-maps page Move to VERIFIED Move back to VERIFIED since it's mistaken changed by scripts 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:1566 |