Bug 1931874

Summary: Items marked as mandatory in KMS Provider form are not enforced
Product: OpenShift Container Platform Reporter: gowtham <gshanmug>
Component: Console Storage PluginAssignee: gowtham <gshanmug>
Status: CLOSED NOTABUG QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: anbehl, aos-bugs, nthomas
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 12:19:39 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:
Bug Depends On: 1925261, 1932272    
Bug Blocks:    

Description gowtham 2021-02-23 13:09:21 UTC
Description of problem:
User can select Service name, Address, Port and Token when creating StorageCluster in StorageCluster installation wizard. All those items are marked as mandatory with symbol *. Only token is enforced and the rest of the items can be empty and user can proceed in form. When user clicks on Create button in next step, there appears error message:
  An error occurred
  f is null

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

How reproducible:

Steps to Reproduce:
1. Navigate to Operators -> Installed operators -> OpenShift Container Storage
2. Start creating new StorageCluster.
3. In second step "Configure" of StorageCluster creation wizard select "Enable Encryption" and "Connect to an external key management service".
4. Fill some string into Token. Leave Service name, Address and Port empty.
5. Click Next and proceed to third step.
6. Click Create.

Actual results:
There appears an error message:
  An error occurred
  f is null

Expected results:
Form should not allow user to continue to third step.

Additional info: