Bug 1850395

Summary: Affinity modal crashes when user tries to change Operator from the select dropdown
Product: OpenShift Container Platform Reporter: Radim Hrazdil <rhrazdil>
Component: Console Kubevirt PluginAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, glekner, gouyang, yzamir
Target Milestone: ---   
Target Release: 4.6.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: 2020-10-27 16:09:18 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:

Description Radim Hrazdil 2020-06-24 08:47:06 UTC
Description of problem:

Version-Release number of selected component (if applicable):
OCP 4.5.0 rc.1
CNV 2.4
UI running locally from current master

How reproducible:

Steps to Reproduce:
1. Create example VM, Open Affinity modal, add Affinity rule
2. add node label  Key: 'test' Operator: DoesNotExists , save, save
3. Open affinity moda, edit the rule, change the Operator from DoesNotExists
 to In

Actual results:
Uncaught TypeError: Cannot read property 'length' of undefined

Expected results:

Additional info:

Comment 1 Radim Hrazdil 2020-06-24 08:56:10 UTC
@Gilad, FYI it is possible that this issue was introduced by fix for BZ1848418

Comment 2 Yaacov Zamir 2020-06-24 09:09:42 UTC

Comment 5 Guohua Ouyang 2020-06-30 10:21:03 UTC
verified on upstream 4.6 branch

Comment 7 errata-xmlrpc 2020-10-27 16:09:18 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 (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Comment 8 Gilad Lekner 2021-01-02 19:26:57 UTC
Clearing redundant NEEDINFO