Description of problem: When the user opens a page with a Form / YAML switch, for example the Install Helm chart, Edit Deployment or Edit BuildConfig pages, the pages makes always a patch call to update the user preferences. Prerequisites (if any, like setup, operators/versions): None Steps to Reproduce Switch to developer perspective > Add > Helm chart Select a helm chart (for example Dotnet) and press Install Helm Chart Open the browser network inspector and filter for "user-settings" Refresh the page Actual results: You can always the a PATCH call which stores the latest selected editor type (form or yaml) Expected results: No unnecessary network calls Reproducibility (Always/Intermittent/Only Once): Always Build Details: 4.9 with ODC-5959 - PR https://github.com/openshift/console/pull/9830 Additional info: See review comment https://github.com/openshift/console/pull/9830#pullrequestreview-740648862
Verified on build version: 4.9.0-0.nightly-2021-09-08-233235 Browser: Google Chrome 89
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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), 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/RHSA-2021:3759