Skip to content

[Guests] A shortcut created in a share can't be opened until the page is reloaded #4377

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

A shortcut (or file) just created in a share can't be opened until the page is reloaded. The new resource is added to the list without remoteItemId, so opening it requests /dav/spaces/<name> without a space id. New folder, upload, paste, copy and move already set it. Not guest-only, users in a received share get the same.

Reproduction Steps

  1. Open the guest link of a folder shared with Can edit
  2. New > Shortcut, URL https://example.org/two, name mylink, Create
  3. Click mylink.url in the list

Expected Outcome

https://example.org/two opens in a new tab.

Actual Outcome

No tab opens and the toast says "Failed to open shortcut" (GET /dav/spaces/mylink.url → 404). After a reload it works.

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