Steps to reproduce: install the Crunchy PostgeSQL for OpenShift operator create a new Postges primary cluster member CR using the default spec navigate to `all instances` and click the `(P) example` link for the resource that was just created: eg URL: http://localhost:9000/k8s/ns/pgo/clusterserviceversions/postgresoperator.v4.2.1/crunchydata.com~v1~Pgcluster/example Observed behavior: Error: `Oh no! Something went wrong.` Page fails to load completely. Invariant Violation: Objects are not valid as a React child (found: object with keys {accessmode, fsgroup, matchLabels, name, size, storageclass, storagetype, supplementalgroups}). If you meant to render a collection of children, use an array instead. in span (created by Label) in Label (created by SpecDescriptor) in dd (created by SpecDescriptor) in dl (created by SpecDescriptor) in SpecDescriptor
Hi Sam, I can't get a successful Crunchy PostgeSQL for OpenShift operator installed on my cluster, tried several times. The installplan always failed Do you have cluster with it enabled then I can verify the fix?
You can reproduce by manually editing the ClusterServiceVersion of another operator. For instance, I could reproduce with these steps: 1. Install 3scale 0.4.1 from OperatorHub 2. Navigate to the Installed Operator details 3. Change to YAML tab 4. Search for the "Wildcard Domain" spec descriptor 5. Edit path to be "system" and save 6. Create an API Manager and view its details Previously, the page would crash. Now it just skips the descriptor on the details page. You can verify there was an error (that was skipped) by looking at the JS console, which should have a message like: Invariant Violation: "Objects are not valid as a React child (found: object with keys {appSpec, database, fileStorage, sidekiqSpec}). (I'm removing the depends on because the bot will block us from backporting the fix if we're able to verify this way. It's not really specific to the Crunchy PostgeSQL operator.)
Created attachment 1664632 [details] JS Console Error Follow the steps Sam told above, viewing 'API Manager' details page will not crash, JS errors are listed as in screenshot
Error: "Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7BappSpec%2C%20database%2C%20fileStorage%2C%20sidekiqSpec%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. " I think this issue has been fixed based on comment 0 and comment 4, move to VERIFIED please let me know if it's wrong Verified on 4.4.0-0.nightly-2020-02-20-215232
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, 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:0581