Closed antgamdia closed 2 years ago
While debugging this issue I noticed it can be somehow related to #5168. At some point the react state gets reset (because of a new repos filter item) and the isFetching
param is wrongly set (because the carvel plugin is returning data when shouldn't, I guess).
I'm still looking into it, but probably will send a fix for #5168 on top of #5115 to see if this works around the problem.
Edit: it does not (although locally I wasn't able to reproduce the issue after the fix...) Tomorrow, I'll try just enabling the helm plugin, as the e2e does... but I'd bet it has to do with a sort of race condition. Locally, the issue was intermittently reproducible (but it is consistently failing in CI...)
Well... after some investigation here I think I've discovered some problems:
Example of my local's vs what is currently on main
just accessing /#/c/default/ns/default/catalog
:
isFetching=true
state.
isFetching
global state var.isFetching=true
state. The UI will simply show a "try again" button, and the user can click on it. This check is to ensure no inconsistent data is shown to the user. Closing as all the related PRs have already been merged.
Describe the bug
When debugging why my PR https://github.com/vmware-tanzu/kubeapps/pull/5115 was failing I noticed there is an actual issue when several repos have been added and we try to filter out by repos: the filter yields a
No application matches the current filter.
even if when removing some repos the package pops up.To Reproduce
/catalog?Repository=my-repo1
)No application matches the current filter.
message.Expected behavior The packages from the additional repo should appear.
Screenshots N/A
Desktop (please complete the following information):
N/A
Additional context This is blocking https://github.com/vmware-tanzu/kubeapps/pull/5115 (and therefore the release)