Description of problem: When create configmap, input name and key, then clear the key value, it prompts confusing error info: "Duplicate key "". Keys must be unique within the config-map." Version-Release number of selected component (if applicable): v3.10.0-0.32.0 How reproducible: Always Steps to Reproduce: 1.On web console create configmap, input key value, then clear the value. 2. 3. Actual results: 1.Error info shows up: Key is required. Duplicate key "". Keys must be unique within the config-map. Expected results: 1.Should not show: Duplicate key "". Keys must be unique within the config-map. Additional info: Same issue exists when create generic secret.
https://github.com/openshift/origin-web-console/pull/2989
Commits pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/6f87018a514d7832ed881c0a9dfd92d3fa33a397 Bug 1575488 - Don't show duplicate key error when key is blank Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1575488 https://github.com/openshift/origin-web-console/commit/2b64bd0eae84ee7723529f22226c582d49096a21 Merge pull request #2989 from spadgett/empty-key Bug 1575488 - Don't show duplicate key error when key is blank
OpenShift Master: v3.10.0-0.46.0 Kubernetes Master: v1.10.0+b81c8f8 OpenShift Web Console: v3.10.0-0.46.0 Tested on OCP env with version above, the bug has been fixed, so move it to Verified.