Skip to content

Delete, paste and restore fail silently on a network error #4178

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 delete, paste or trash restore fails at network level (offline, connection reset), no error appears, and a deleted item keeps its spinner until reload. The catch blocks of the delete, paste and restore workers read e.response.headers, which throws when there is no response, so the item never lands in failed. The dav.ts part is handled in #4171.

Reproduction Steps

  1. Open a folder with a.txt
  2. Go offline (or drop the DELETE request) and delete a.txt
  3. Also: paste a copied file while COPY fails, and restore an item in Deleted files while MOVE fails

Expected Outcome

An error toast, and the row goes back to normal so the action can be retried.

Actual Outcome

No toast. a.txt keeps a spinner instead of its checkbox and has no context menu button until reload. Paste and restore fail silently, and the trash item stays listed.

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