-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard: fix issue with trying to process deleted project data #2465
Conversation
Fixes a bug where the API `/projects/<project>?statistics=false&doNotTrack=true` 404 response is processed as project data. We now skip these items. Fixes #2437.
if (projectData.status === "fulfilled" && !projectData.value.error) | ||
projectList.push(formatProjectMetadata(projectData.value.data)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: it seems that the { error: e as FetchBaseQueryError }
return below is not processed; the error seems to be silently swallowed in client/src/utils/customHooks/useGetRecentlyVisitedProjects.ts
.
You can access the deployment of this PR at https://renku-ci-ui-2465.dev.renku.ch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
…hboard-deleted-project
…hboard-deleted-project
Tearing down the temporary RenkuLab deplyoment for this PR. |
Fixes a bug where the API
/projects/<project>?statistics=false&doNotTrack=true
404 response is processed as project data. We now skip these items./deploy #persist #cypress renku=renku-ui-3.4.2-updates
Fixes #2437.