Skip to content

Opening an app via a fileId-only URL throws an uncaught cancel error #4122

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

Opening an app through a fileId-only URL throws an uncaught cancel error. In AppWrapper.vue the route gets the drive alias added inside the restartable loadResourceTask, the file-context watcher then restarts the task and the first await loadResourceTask.perform() rejects with vue-concurrency's cancel, which nobody catches.

Reproduction Steps

  1. Open /text-editor?fileId=<id of a .md file>

Expected Outcome

The editor opens without an uncaught error.

Actual Outcome

An uncaught cancel error while the URL gets the drive alias added, then the editor loads.

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