Bug 1931874 - Items marked as mandatory in KMS Provider form are not enforced
Summary: Items marked as mandatory in KMS Provider form are not enforced
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Storage Plugin
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.7.0
Assignee: gowtham
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On: 1925261 1932272
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-23 13:09 UTC by gowtham
Modified: 2021-02-24 12:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 12:19:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8221 0 None open Bug 1931874: Fix KMS validation error for 4.7 release 2021-02-24 04:51:23 UTC

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):
ocs-operator.v4.7.0-250.ci

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:


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