Skip to content

File drop link shows "Error: Unknown error" after the link is deleted #3903

Closed

Description

@AlexAndBear

Steps to reproduce

  1. Open a file drop (upload-only) public link as a visitor.
  2. The owner deletes the link.
  3. Reload the page.

Expected

A clear message such as "The resource could not be located, it may not exist anymore.", as shown elsewhere for deleted/missing public links.

Actual

"An error occurred while loading the public link – Error: Unknown error" — the error object is rendered as text.

Cause

packages/web-app-files/src/.../FilesDrop.vue (around line 249) assigns the error object to a string and has no dedicated case for a 404.

Found during exploratory QA testing.

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