Skip to content

Failed folder and list loads show "not found" or an empty list instead of an error #4353

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

When loading a folder or a list fails (500, 502/503 during a server restart, timeout, aborted request), we show "Resource not found" or an empty list. On a flaky connection it looks like the data is gone.

  • Folder view: loaderSpace.ts calls setCurrentFolder(null) on every error, and GenericSpace.vue turns that into folderNotFound.
  • Lists: the loaders for Shared with me, Shared with others, Shared via link, Favorites and Trash clear the list first, so a failed request ends in "Nothing shared, yet" / an empty list, without any error message.

The server returns 404 for missing paths, unknown spaces and spaces you can't access, so 404 can stay "not found". Every other error is a load error.

Reproduction Steps

  1. Open a folder (or Shared with me, Favorites, Trash, ...)
  2. Make the PROPFIND / Graph request fail with 500 or abort it (e.g. devtools request blocking)

Expected Outcome

404 still shows "Resource not found". Any other error shows the usual error toast ("Failed to load ...") and the view doesn't pretend the folder or list is empty or missing.

Actual Outcome

"Resource not found" or "This folder has no content" / "Nothing shared, yet", no error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions