Bug 1845624
Summary: | cannot see group yaml in the console when group has special characters. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | German Parente <gparente> | ||||||||
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 4.4 | CC: | aos-bugs, jokerman, spadgett, yapei | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | 4.6.0 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: |
Fixed an issue where resource names with special characters like `(` and `)` could prevent resource details from being displayed in OpenShift console.
|
Story Points: | --- | ||||||||
Clone Of: | |||||||||||
: | 1867050 (view as bug list) | Environment: | |||||||||
Last Closed: | 2020-10-27 16:06:02 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: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1867050 | ||||||||||
Attachments: |
|
Description
German Parente
2020-06-09 16:36:28 UTC
Parenthesis have a special meaning in react-router, which is causing the problem: https://github.com/ReactTraining/react-router/blob/v3/docs/guides/RouteMatching.md#path-syntax > () – Wraps a portion of the URL that is optional. You may escape parentheses if you want to use them in a url using a backslash \ react-router-dom v6 will allow relative links, which would fix this problem: https://github.com/ReactTraining/react-router/issues/5127 https://github.com/ReactTraining/react-router/blob/4a55331e73feb2f36e7d322bab7e45706e86dede/docs/guides/migrating-5-to-6.md#relative-routes-and-links Unfortunately, it's still in beta and requires migration from v5. PR was not included in 4.6.0-0.nightly-2020-06-26-035408, will check on newer build 1. create a group with special character '(' and ')' oc adm groups new '_UO.Sistemas_(50000374)' 2. check group info on console at User Management -> Groups, Details, YAML and RoleBinding page are shown with correct info Verified on 4.6.0-0.nightly-2020-06-30-020342 Created attachment 1699589 [details]
Group with special character - Details page
Created attachment 1699590 [details]
Group with special character - YAML page
Created attachment 1699591 [details]
Group with special character - RoleBinding page
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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196 |