Skip to content

fix: show not found in apps for an unknown space or a route without a file - #4259

Merged
AlexAndBear merged 2 commits into
mainfrom
fix/app-unknown-space-error
Nov 6, 2026
Merged

AlexAndBear merged 2 commits into
mainfrom
fix/app-unknown-space-error

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

Opening an app URL for a space you can't see, or the bare app route without a file, now shows the regular "Resource not found" screen instead of a raw JavaScript error, the same as for a file that doesn't exist.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: unknown space and app route without a file show the not found screen without loading the file
  • test case 2: unit: drive alias recovery still works when the space only resolves after the route update
  • test case 3: browser: unknown project space, another user's personal space (shared and not shared) and /text-editor show the not found screen, desktop and Pixel 7
  • test case 4: browser: opening files from the list, permanent links, fileId without drive alias, received shares, public links and the preview 404 still work

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 merged commit 6b94999 into main Nov 6, 2026
28 checks passed
@AlexAndBear
AlexAndBear deleted the fix/app-unknown-space-error branch November 6, 2026 09:09
@openclouders openclouders mentioned this pull request Nov 6, 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

Development

Successfully merging this pull request may close these issues.

Opening an app URL for a space you can't access shows a raw JavaScript error and no way to close the app

2 participants