Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

删除带PDF附件的笔记时未同步删除assets下的PDF文件 #6139

Closed
1 task done
whuwangyong opened this issue Oct 10, 2022 · 1 comment
Closed
1 task done

Comments

@whuwangyong
Copy link

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

将PDF复制到笔记里,做了一些高亮笔记。然后删除该笔记,发现assets下PDF仍在。未引用的资源下面也没有展示该PDF。

也就是说思源认为该PDF仍被引用。

  • 重建索引无效。
  • 清除历史无效。

期待的结果 Expected result

PDF文件同步删除。

截屏或者录屏演示 Screenshot or screen recording presentation

image

版本环境 Version environment

- Version: 2.2.3
- Operating System: win 11
- Browser (if used):

日志文件 Log file

siyuan.zip

更多信息 More information

No response

@88250
Copy link
Member

88250 commented Oct 10, 2022

存在标记文件 .sya 时无论是否引用都不会被纳入未引用资源,这个是之前特意做的改进,避免误删除标记。

#5392

@88250 88250 closed this as completed Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants