Bug 2028292 - Objects are not valid as a React child
Summary: Objects are not valid as a React child
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.z
Assignee: Yadan Pei
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On: 2006067 2053703
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-01 22:23 UTC by ralpert
Modified: 2023-03-09 01:09 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-09 01:09:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description ralpert 2021-12-01 22:23:13 UTC
This bug was initially created as a copy of Bug #2006067

I am copying this bug because: 
I am doing a manual backport to 4.9. The automated backport failed due to JSON file conflicts.

Description of problem:

Users being shown React error when trying to perform action in OpenShift UI


Version-Release number of selected component (if applicable):

4.7.22

How reproducible:

100%


Steps to Reproduce:
1. Create a role without the ability to "update" InstallPlans, but with the other verbs like get and patch.
2. Try to approve an installplan in the UI

Actual results:

Objects are not valid as a React child (found: Error: installplans.operators.coreos.com "install-sgxdf" is forbidden: User "w77378" cannot update resource "installplans" in API group "operators.coreos.com" in the namespace "developer-monitoring"). If you meant to render a collection of children, use an array instead.


Expected results:

OpenShift UI handles error and displays message in the UI.


Additional info:

Comment 5 Shiftzilla 2023-03-09 01:09:36 UTC
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira.

https://issues.redhat.com/browse/OCPBUGS-9039


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