Created attachment 1688098 [details] YAML to create mock operator +++ This bug was initially created as a clone of Bug #1835324 +++ Description of problem: If a CSV does not have an almExamples annotation defined, the create operand form view throws an exception and white screens. Version-Release number of selected component (if applicable): 4.4 How reproducible: Always Steps to Reproduce: 1. Create a operand-test project 2. Create resources from provided yaml attachment 3. Navigate to Operators > Installed Operators 4. Click link to Mock Operator 5. On operator details page, click "Create Instance" on Mock Resource Provided API 6. Click "Edit Form" in the top right and no errors occur 8. Go back to operator details page 9. Go to YAML tab and remove the 'almExamples' annotation 10. Save and go back to overview tab 11. Repeat 5 and 6 Actual results: You see a blank page and a runtime error is logged in the console Expected results: Create operand form should be displayed and no runtime errors should be thrown. Additional info: This has been fixed in 4.5 already, but needs to be backported to 4.4
Checked on OCP 4.4 cluster with payload 4.4.0-0.nightly-2020-05-25-115719 1. Create a operand-test project 2. Create resources from provided yaml attachment 3. Navigate to Operators > Installed Operators 4. Click link to Mock Operator 5. On operator details page, click "Create Instance" on Mock Resource Provided API 6. Click "Edit Form" in the top right and no errors occur 8. Go back to operator details page 9. Go to YAML tab and remove the 'almExamples' annotation 10. Save and go back to overview tab 11. Repeat 5 and 6 The create operand form page is displayed normally. and no runtime error on the 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, 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:2310