Bug 1828928

Summary: fieldDependency spec descriptor does not work on create operand form
Product: OpenShift Container Platform Reporter: Jon Jackson <jonjacks>
Component: Management ConsoleAssignee: Yadan Pei <yapei>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:32:22 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:
Attachments:
Description Flags
Test csv file
none
Test crd file
none
fieldDependencyControl true none

Description Jon Jackson 2020-04-28 15:28:55 UTC
Created attachment 1682535 [details]
Test csv file

Created attachment 1682535 [details]
Test csv file

Description of problem:
Adding a fieldDependency spec descriptor to a CSV has no effect on the create operand form.

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

How reproducible:
Always

Steps to Reproduce:
1. Create a project named 'jonjacks'
2. Create a crd and csv using the attached json files
3. Navigate to OperatorHub > Installed Operators
4. Click 'Mock Operator'
5. In the 'Mock Resource' card under Provided API's, click 'Create Instance'
6. On the resulting form, find the Field Dependency Control switch
7. Click the switch to toggle it to true


Actual results:
The switch changes, but nothing changes on the form

Expected results:
When the switch is toggled to true, a new 'Descriptor Generated Field Dependency' field should be rendered on the form

Additional info:

Comment 1 Jon Jackson 2020-04-28 15:29:41 UTC
Created attachment 1682537 [details]
Test crd file

Comment 4 Yadan Pei 2020-05-07 09:06:59 UTC
Created attachment 1686105 [details]
fieldDependencyControl true

When fieldDependencyControl is switched to True, 'Descriptor Generated Field Dependency' field is shown on the form


Verified on 4.5.0-0.nightly-2020-05-06-003431

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