Bug 1796539

Summary: Create operand workflow does not sync array field groups between YAML and Form editors
Product: OpenShift Container Platform Reporter: Jon Jackson <jonjacks>
Component: Management ConsoleAssignee: Jon Jackson <jonjacks>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, jokerman
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: There was a flaw in the logic on the create operand form. Consequence: Array field groups were not accurately syncing data to the YAML view. Fix: Refactored the create operand form. Result: All data is synced between form and yaml views on the create operand workflow.
Story Points: ---
Clone Of:
: 1804929 (view as bug list) Environment:
Last Closed: 2020-07-13 17:13:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1804929    
Attachments:
Description Flags
Multiple array field values don't sync from create operand YAML editor to form none

Description Jon Jackson 2020-01-30 16:41:07 UTC
Description of problem:

Create operand workflow does not sync array field groups between YAML and Form editors

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


How reproducible:
Always


Steps to Reproduce:
1. Create a new project if you don't have one
2. Navigate to Operators > OperatorHub
3. Make sure the project from step 1 is the currently active namespace
3. Filter by keyword "Prometheus"
4. Click the Prometheus Operator tile
5. Click 'Install' in the resulting modal
6. Make sure the following options are selected:
    - Installation Mode: A specific namespace on the cluster
      (make sure the project from step 1 is selected)
    - Update Channel: beta
    - Approval Strategy: Automatic
7. Click "Subscribe"
8. Navigate to Operators > Installed Operators
9. Click the "Prometheus Operator" link in the installed operators list
10. In the Provided APIs section, click "Create Instance" in the first card "Prometheus"
11. Click "Edit Form" in the top right
12. Enter "test" into Image Pull Secrets > Name field
13. Click "Add Field Group" under Image Pull Secrets section
14. Enter "test1" into the new Image Pull Secrets > Name field
15. Click "Edit YAML" in the top right
16. Look for the "Image Pull Secrets" field in the YAML editor and make sure it matches the values entered in the form
17. Change the value of the second image pull secret to "test1234"
18. Click "Edit Form"

 

Actual results:
Only the first image pull secret is displayed on the form editor

Expected results:
Both image pull secrets should be displayed


Additional info:

Comment 1 Jon Jackson 2020-01-30 17:16:04 UTC
Created attachment 1656542 [details]
Multiple array field values don't sync from create operand YAML editor to form

Comment 5 shahan 2020-03-09 04:06:11 UTC
Perform the verification steps according to description comment #0, then check two new added pull secrets with name test & test1234  on the form page.
4.5.0-0.nightly-2020-03-06-190457

Comment 7 errata-xmlrpc 2020-07-13 17:13:32 UTC
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:2409