Bug 1898679

Summary: Operand creation form - Required "type: object" properties (Accordion component) are missing red asterisk
Product: OpenShift Container Platform Reporter: tony.wu
Component: Management ConsoleAssignee: Jon Jackson <jonjacks>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 4.6.zCC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Version: 4.7.0-0.nightly-2020-11-12-200927 Cluster ID: 6a658e1b-ab0b-419e-b3a3-6145e0a25c55 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
Last Closed: 2021-02-24 15:34:16 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
0_CRD__DatadogAgent_credentials-object_as_required.png
none
1_[CURRENT]_Creation_Form__DatadogAgent__missing_red_asterisk.png
none
2_[IDEAL]_Creation_Form__DatadogAgent__shows_a_red_asterisk.png none

Description tony.wu 2020-11-17 19:35:06 UTC
Created attachment 1730275 [details]
0_CRD__DatadogAgent_credentials-object_as_required.png

Description of problem:
Operand creation form UI doesn't show red asterisk on those required "type: object" properties (Accordion component).


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


How reproducible:
100%


Steps to Reproduce:
1.  Install an Operator with a Provided API included required property in  "type: object" 
     --> for example, "DataDog Community Operator" from OperatorHub
     --> (install to single NS or all NS doesn't matter) 

2. Create Operand instance which has a required property in  "type: object" 
     --> for example, create "DatadogAgent" instance

3.  On the creation form UI, see the required fields using PF Accordion components missing red asterisk
     --> for example, the "Credential" property is missing a red asterisk


Actual results:
On the creation form UI, the required fields using PF Accordion components missing red asterisk
     --> for example, the "Credential" property is missing a red asterisk


Expected results:
On the creation form UI, the required fields using PF Accordion components should show a red asterisk
     --> for example, the "Credential" property should show a red asterisk


Additional info:
See attached screenshots for reference.

Comment 1 tony.wu 2020-11-17 19:35:24 UTC
Created attachment 1730276 [details]
1_[CURRENT]_Creation_Form__DatadogAgent__missing_red_asterisk.png

Comment 2 tony.wu 2020-11-17 19:35:43 UTC
Created attachment 1730277 [details]
2_[IDEAL]_Creation_Form__DatadogAgent__shows_a_red_asterisk.png

Comment 5 Yadan Pei 2020-12-21 07:05:04 UTC
1.  Install an Operator with a Provided API included required property in  "type: object" 
     --> for example, "DataDog Community Operator" from OperatorHub
     --> (install to single NS or all NS doesn't matter) 

2. Create Operand instance which has a required property in  "type: object" 
     --> for example, create "DatadogAgent" instance

3.  On the creation form UI, see the field "Credential" property now has a red asterisk

Verified on 4.7.0-0.nightly-2020-12-20-031835

Comment 7 errata-xmlrpc 2021-02-24 15:34:16 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 (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