Bug 2040655 - User settings update fails when selecting application in topology sidebar
Summary: User settings update fails when selecting application in topology sidebar
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.10.0
Assignee: Christoph Jerolimov
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-14 11:27 UTC by Christoph Jerolimov
Modified: 2022-03-10 16:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:39:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10843 0 None open Bug 2040655: Fix that user settings update fails when selecting application in topology sidebar 2022-01-14 11:46:28 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:39:54 UTC

Description Christoph Jerolimov 2022-01-14 11:27:42 UTC
Description of problem:
When selecting an application in the topology there is a network call failing. In dev mode, I see also a full-screen error message.

Got this error message in the browser console:

user-settings.ts:46 Could not update (patch) user settings ConfigMap HttpError: Error "Invalid value: "console.sideBarAlerts.health-check-alert.group:nodeinfo-app": a valid config key must consist of alphanumeric characters, '-', '_' or '.' (e.g. 'key.name',  or 'KEY_NAME',  or 'key-name', regex used for validation is '[-._a-zA-Z0-9]+')" for field "data[console.sideBarAlerts.health-check-alert.group:nodeinfo-app]".
    at console-fetch-utils.ts:99:1

The PATCH call to the ConfigMap shows this payload:

{
  "data": {
    "console.sideBarAlerts.health-check-alert.group:nodeinfo-app": "true"
  }
}


Version-Release number of selected component (if applicable):
4.10, maybe older versions as well?

How reproducible:
Always

Steps to Reproduce:
1. Switch to dev perspective
2. Import an application
3. Switch to topology and open the application in the sidebar

Actual results:
Network error (PATCH call to ConfigMap) fails, user setting could not be saved

Expected results:
Network call should pass and user setting should be saved

Additional info:

Comment 3 Christoph Jerolimov 2022-01-20 13:45:53 UTC
Verified on 4.10.0-0.nightly-2022-01-20-082726

The network call to patch the user settings passes now when selecting an application in the topology.

Comment 6 errata-xmlrpc 2022-03-10 16:39:37 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 (Moderate: OpenShift Container Platform 4.10.3 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-2022:0056


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