Bug 1807030

Summary: Add new Parameters on Pipelines Parameters tab don't work [openshift-4.4]
Product: OpenShift Container Platform Reporter: Karthik Jeeyar <kjeeyar>
Component: Dev ConsoleAssignee: Karthik Jeeyar <kjeeyar>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: high Docs Contact:
Priority: high    
Version: 4.4CC: aos-bugs, nmukherj, spathak
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Validation needs to be fixed inorder to add more parameters. Consequence: Parameters submit button was disabled when the user removes the existing fields whereas the new changes detected section shows correctly. Fix: Validation and formik usage is modified to validate the form correctly. Result: When new changes detected section is shown, then submit button is enabled to allow the user to submit the values to the backend.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-04 11:42:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1804852    
Bug Blocks:    
Attachments:
Description Flags
Parameters validation issue.
none
Add new Parameters on Pipelines Parameters tab work [openshift-4.4]
none
Add new Parameters on Pipelines Parameters tab workS [openshift-4.4] none

Description Karthik Jeeyar 2020-02-25 13:44:35 UTC
Created attachment 1665642 [details]
Parameters validation issue.

Description of problem:
Add a new parameter row, edit the values of previous row and remove the new row fails to enable the submit button

Version-Release number of selected component (if applicable):
   4.4.0-0.nightly-2020-02-16-221315

How reproducible:
Always

Steps to Reproduce:
1. Add a new row to the existing parameter row
2. Edit the existing parameter row
3. Remove the newly created row

Actual results:
Submit button is not enabled even after the new changes in the first row.

Expected results:
Submit button should be enabled as there is a change in the previus row.


Additional info:
Attached the screenshots

Comment 3 spathak@redhat.com 2020-03-05 13:12:30 UTC
Created attachment 1667747 [details]
Add new Parameters on Pipelines Parameters tab work [openshift-4.4]

Comment 4 spathak@redhat.com 2020-03-05 13:17:06 UTC
Verified on build : 4.4.0-0.nightly-2020-03-05-014624
Chrome browser: 76.0.3809.132

Comment 5 spathak@redhat.com 2020-03-05 15:56:33 UTC
Created attachment 1667816 [details]
Add new Parameters on Pipelines Parameters tab workS [openshift-4.4]

Comment 7 errata-xmlrpc 2020-05-04 11:42: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:0581