Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-9039

Objects are not valid as a React child

XMLWordPrintable

    • Moderate
    • Unspecified
    • If docs needed, set a value

      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:

            rhn-support-yapei YaDan Pei
            ralpert@redhat.com Rebecca Alpert
            YaDan Pei YaDan Pei
            Red Hat Employee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: