Description of problem: The "fieldDependency" specDescriptor doesn't work as shown in the reference guide: https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/descriptors/reference/reference.md#20-fielddependency Version-Release number of selected component (if applicable): 4.4 How reproducible: 100% Steps to Reproduce: 1. Install "Business Automation" Operator on an OCP 4.4 Cluster 2. Add "fieldDependency" descriptor into Operator's CSV file --> add "- 'urn:alm:descriptor:com.tectonic.ui:fieldDependency:upgrades.enabled:true'" as one of the "x-descriptors" for "path: upgrades.minor" specDescriptor field (as shown in the reference.md file above) 3. Go to "Create KieApp" change to "Form View" Actual results: "Include minor version upgrades" field is always visible. Expected results: "Include minor version upgrades" field should only visible when "Enable Upgrades" field is set to "True"
Related bug info: https://github.com/openshift/console/issues/4876
This bug is for release 4.4. In 4.5 the related logic got removed.
The PR to fix this is here https://github.com/openshift/console/pull/5157
For some reason the github bz integration isn't working and autolinking status to PRs.. manually updated to modified to properly track.
Sorry I meant "Post" as the PR is open but not merged.
Setting target release to current development version (4.5) for investigation. Where fixes (if any) are required/requested for prior versions, cloned BZs will be created when appropriate.
This is fixed in master by https://github.com/openshift/console/pull/5287. I'll clone the bug for the 4.4.z fix.
Checked on ocp 4.5 cluster with payload: 4.5.0-0.nightly-2020-05-17-201019 Install Install "Business Automation" Operator, in CSV, add "- 'urn:alm:descriptor:com.tectonic.ui:fieldDependency:upgrades.enabled:true'" as one of the "x-descriptors" for "path: upgrades.minor" specDescriptor field Create instance, on the "Form View", see "Enable Upgrades" is default as false, and "Include minor version upgrades" doesn't show up. Set "Enable Upgrades" as "True", "Include minor version upgrades" shows up and could be set true/false.
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