projectsveltos / dashboard

Sveltos UI frontend
Apache License 2.0
3 stars 1 forks source link

🐛 [BUG] - Filter by name #28

Closed gianlucam76 closed 1 week ago

gianlucam76 commented 1 week ago

Description

This is not a consistent bug, sometimes it happens, most of the time it does not.

When I filter by name

http://212.2.241.100/sveltosclusters?sveltosclusters?skip=0&limit=8&name=mgmt&namespace=&labels=

I consistently see ui-backend responding with only one cluster.

{"totalClusters":1,"managedClusters":[{"namespace":"mgmt","name":"mgmt","clusterInfo":{"labels":{"projectsveltos.io/k8s-version":"v1.29.2","sveltos-agent":"present","type":"mgmt"},"version":"v1.29.2+k3s1","ready":true,"failureMessage":null}}]}

yet refreshing multiple times (filter/clear/filter) UI displays more than one cluster.

Reproduction URL

No response

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Browsers

No response

OS

No response

gianlucam76 commented 1 week ago

Screenshot 2024-10-03 at 14 31 54

if it helps, problem seems to happen also when sometimes UI displays 6 clusters when total is 5