-
Bug
-
Resolution: Done-Errata
-
Major
-
4.16.0
-
None
-
No
-
False
-
-
-
Release Note Not Required
-
In Progress
Description of problem:
- Investigate why `name` and `namespcae` properties are passed as arguments in `k8sCreate` instance for Create YAML editor function - Remove the `name` and `namespcae` arguments in `k8sCreate` instance for Create YAML editor function if it does not require a big change. Problem: If consoleFetchCommon takes an additional option(argument) and return response based on the option as proposed in "[Add support for returning response.header in consoleFetchCommon function|https://issues.redhat.com/browse/CONSOLE-3949]" story, the wrong and unused arguments in k8sCreate would cause the consoleFetchCommon method arguments to return entire response instead of response body which would break the Create Resource YAML functionality. Code: https://github.com/openshift/console/blob/master/frontend/public/components/edit-yaml.jsx#L334
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
Additional info:
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update