Skip to content

A 401 in Shares, Favorites and Deleted files shows empty lists instead of the auth flow #4359

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 the server rejects the session with a 401 (e.g. an admin disables the account while the user is logged in), Shares, Favorites and Deleted files just show their empty states. The folder view goes through authService.handleAuthError (renew, access denied or login), but only loaderSpace.ts routes a 401 there, the other folder loaders don't.

Reproduction Steps

  1. Log in as a user with shares and favorites
  2. As admin, disable that user
  3. In the still-open tab, click Shares, Favorites and Deleted files

Expected Outcome

Same auth error handling as the folder view (renew, or access denied / login).

Actual Outcome

"Nothing shared, yet", "Nothing marked as favorite, yet", "This trash bin is empty", each with a 401 in the network log.

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