Skip to content

fix: show an error message when loading a folder or list fails - #4356

Merged
AlexAndBear merged 5 commits into
mainfrom
fix/load-errors-not-found
Nov 9, 2026
Merged

AlexAndBear merged 5 commits into
mainfrom
fix/load-errors-not-found

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Description

When loading a folder or one of the lists (favorites, shares, trash) fails, we now show an error message instead of failing silently, and a 401 in the lists now goes through the same auth handling as the folder view. The views themselves stay as they were. A new load now also cancels a still running one, so an outdated load can't show a stale error or overwrite newer data anymore.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: all folder loaders with 500, 404, 401 and cancel, overlapping loads (the older one gets cancelled), the loading state while the auth error is handled
  • test case 2: browser: reproduced on main, then on the fix: 500/502/503/aborted loads in folders, public link folders and all lists show the error message, 404 cases unchanged without it, 401 renews silently or ends at access denied / login and back, a user disabled by an admin gets the auth flow in the lists, overlapping and cancelled loads stay silent and keep the newer data, no unhandled cancel errors, regression checks, Pixel 7

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear AlexAndBear self-assigned this Nov 7, 2026
@AlexAndBear AlexAndBear changed the title fix: show an error instead of not found or an empty list when loading fails fix: show an error message when loading a folder or list fails Nov 7, 2026
@AlexAndBear
AlexAndBear force-pushed the fix/load-errors-not-found branch from f73f80d to ed25342 Compare November 9, 2026 11:33
@AlexAndBear
AlexAndBear merged commit b83af6a into main Nov 9, 2026
28 checks passed
@AlexAndBear
AlexAndBear deleted the fix/load-errors-not-found branch November 9, 2026 13:32
@openclouders openclouders mentioned this pull request Nov 9, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

2 participants