rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
441 stars 243 forks source link

[RKE2 - vSphere] Getting a TypeError when closing an error banner #10250

Closed momesgin closed 1 day ago

momesgin commented 6 months ago

Setup

Describe the bug When you try to close an error banner on vSphere's edit config page, the app breaks(in local env) and you get "TypeError: handler.apply is not a function". The problem is fvUnreportedValidationErrors that is a computed prop but it's getting invoked like a function when passed to CruResource in rke2.vue.

To Reproduce

Create a vSphere cluster with Terraform and come to Rancher's Edit Config page.

Screenshots

https://github.com/rancher/dashboard/assets/135728925/a3a00425-dae2-4106-9666-6d34abb86837

gaktive commented 4 months ago

/backport v2.8.next1

rak-phillip commented 1 day ago

Confirmed that dismissing banners with vSphere does not produce an error in the console.