Bug 1828928 - fieldDependency spec descriptor does not work on create operand form
Summary: fieldDependency spec descriptor does not work on create operand form
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.5.0
Assignee: Yadan Pei
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-28 15:28 UTC by Jon Jackson
Modified: 2020-07-13 17:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 17:32:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Test csv file (11.16 KB, text/plain)
2020-04-28 15:28 UTC, Jon Jackson
no flags Details
Test crd file (17.01 KB, text/plain)
2020-04-28 15:29 UTC, Jon Jackson
no flags Details
fieldDependencyControl true (277.43 KB, image/png)
2020-05-07 09:06 UTC, Yadan Pei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 5223 0 None closed Bug 1828928: Fix fieldDependency spec descriptor for create operand form 2020-06-24 01:27:07 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:32:40 UTC

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


Note You need to log in before you can comment on or make changes to this bug.