Skip to content

After deleting the file, it still exists in "Shared with Me" And "My Files" #3419

@AnranYus

Description

@AnranYus

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed. / 请使用英语提交,否则会被关闭。
  • Please do not modify this template :) and fill in all the required fields.

Cloudreve version

4.15.0

Pro or Community Edition

Community (Open Source)

Database type

SQLite, PostgreSQL

Browser and operating system

No response

Steps to reproduce

User A creates a share link for a file. After User B opens the link and saves it, User A deletes the file, but User B’s file shortcut still remains.

GET http://localhost:5173/api/v4/file?uri=cloudreve://QghK@share&page_size=50

{"code":404,"msg":"Shared file does not exist","correlation_id":"913e05bf-7391-4124-8ecd-f52b410efbaf"}

✔️ Expected Behavior

Normally, when the person who shared the content deletes it, any shortcut created by the recipient should also be deleted, or at the very least, there should be a notice indicating that the file has been deleted.

❌ Actual Behavior

The file is not actually downloaded, but there is also no warning or notification.

Addition context information

No response

Metadata

Metadata

Assignees

Labels

backlogbugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions