ManageIQ / manageiq-ui-classic

Classic UI of ManageIQ
Apache License 2.0
50 stars 357 forks source link

VM link does not always redirect to correct vm details page #9252

Open uejo opened 1 month ago

uejo commented 1 month ago

When i click on the "VM" which is associated with a service under the Services / My Services view, I sometimes do get redirected to the "All VMs & Templates" page: Compute / Infrastructure / Virtual Machines / VMs & Templates / All VMs & Templates

instead of to the specific vm details page. firefox_Kniycl6eLE I expect to a always get redirected to the specific vm details page: image

and not the "All VMs & Templates" page: image

Unfortunately no errors are shown in the manageIQ log, hence it should be solely be browser/client side based, but also in the dev tools i don't have any error messages which would clearly distinguish those two redirects.

Reproduce: Unfortunately no 100% way to reproduce, since there is no consistency of failure/success. But it feels to increase the odds of failure: log out and in again, go straight to "Services" -> "My Services" click on a service, and on the running VM as displayed in the first image. Performing 20 attempts, resulted in 9 successful redirects to the VM details page and 11 failed redirects to the All VMs & Templates page.

If in the browser dev tools "disable cache" is enabled, it seems to always work as intended, but it seems using the cache should be the default here.

Describe your environment: Version: container version from docker hub: quinteros-1.20240402225756_f6add08 and radjabov-pre.20240404134108_e4479a1

Fryguy commented 1 month ago

@GilbertCherrie Can you take a look at this one?