Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1798357

Summary: Latest formik upgrade to 2.0.1-rc5 broke dev-console edit application flows
Product: OpenShift Container Platform Reporter: divgupta
Component: Dev ConsoleAssignee: divgupta
Status: CLOSED ERRATA QA Contact: Ruchir Garg <rgarg>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, gamore, nmukherj
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-04 11:33:43 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:

Description divgupta 2020-02-05 06:53:13 UTC
Description of problem:

After formik upgrade to 2.0.1-rc.5 this error https://github.com/jaredpalmer/formik/issues/1678 started to pop on forms where it is needed to populate the form fields with existing values and an existing event handler is used inside useEffect to achieve this.

For example devconsole edit flows (In deploy image internal registry edit flow imageStreamNamespace is already set and onDropdownChange is called to fill the other fields and dispatch desired actions according to the namespace).

How reproducible:

Steps to Reproduce for edit flows:
1. Right click on a node in topology view to open the context menu
2. Click on edit action shown in the menu

Actual results:
UI crashes and https://github.com/jaredpalmer/formik/issues/1678 this error is shown.

Expected results:
Respective edit application forms should open.

Comment 2 Gajanan More 2020-03-02 11:16:03 UTC
https://issues.redhat.com/browse/ODC-2853? verified by Debsmita

Comment 4 errata-xmlrpc 2020-05-04 11:33:43 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