Created attachment 1712749 [details] 1_init-CR_creation_card.png Description of problem: With 'initialization-resource' CSV annotation, the console will direct users to "Operand Creation form" page for that specific custom resource. However, it's noticed if clicked on the "Cancel" button on the "initialization-resource" creation form page, the console would simply send users to the previous page, which is the "Install Operator" page. After discussed with Peter from UXD team, folks think it's better to send users to the "Operator details" page instead. Version-Release number of selected component (if applicable): 4.6 How reproducible: 100% Steps to Reproduce: 1. Install an Operator has 'initialization-resource' CSV annotation 2. Wait until Operator installed and the UI prompts to create initialization resource, click on the "Create" button --> See attached screenshot: 1_init-CR_creation_card.png 3. Being sent to the "creation form" page --> See attached screenshot: 2-1_init-CR_creation_form_page.png 4. Click "Cancel" button at the bottom of the screen --> See attached screenshot: 2-2_hint-cancel-btn__init-CR_creation_form_page.png 5. Being sent to the previous page ("Install Operator" page) --> See attached screenshot: 3_directed_back_to_install-operator_page.png 6. Should be better by sending users to "Operator details" page instead --> See attached screenshot: 4_operator-details_page.png Actual results: See step 5. Expected results: Should replace above step 5 with step 6. Additional info:
Created attachment 1712750 [details] 2-1_init-CR_creation_form_page.png
Created attachment 1712751 [details] 2-2_hint-cancel-btn__init-CR_creation_form_page.png
Created attachment 1712752 [details] 3_directed_back_to_install-operator_page.png
Created attachment 1712753 [details] 4_operator-details_page.png
So this is a real tricky one to fix. We use the common FormEditor component which does not know where the form was trigger from so it just uses "back" on cancel. In this case, the last page was the install page. The proper fix will most likely be to pass a property with the cancel URL.
Created attachment 1723665 [details] 5__Click Cancel Sent to Operator Details page Steps to Reproduce: 1. Install an Operator has 'initialization-resource' CSV annotation 2. Wait until Operator installed and the UI prompts to create initialization resource, click on the "Create <CR>" button 3. Being sent to the "creation form" page 4. Click "Cancel" button at the bottom of the screen 5. Being sent to the Operator Details page --> See attached screenshot: 5__Click Cancel Sent to Operator Details page Verified on 4.7.0-0.nightly-2020-10-22-175439
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633