Skip to content

切换文档锁定状态,引用此文档的其他文档修改时间会被更新且生成修改记录 #18058

Description

@Temacc0531

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

修改 A 文档后锁定编辑,引用 A 文档的其他文档的 .sy 文件修改时间都会被更新,然后生成历史记录

  1. 修改 A 文档后锁定编辑,可以看到更新时间【2026-07-03 11:57】,该文档有 47 个引用(对应 46 个文件)
Image
  1. 软件针对本次修改生成了两条历史记录,2026-07-03-120149-update 对应修改的 A 文档,2026-07-03-120150-update 对应引用 A 文档的其他 46 个文档
  • Image
  • Image
  • Image
  1. 随便挑一个引用 A 文档的其他文档,查看 .sy 文件,发现修改时间也被更新成【2026-07-03 11:57】
Image

Expected result

修改文档后锁定编辑,不应会更新到引用此文档的其他文档,且不应生成修改记录

Screenshot or screen recording presentation

No response

Version environment

- Version: v3.7.0
- Operating System: Windows 11

Log file

siyuan.log

More information

另外还发现一个点
生成的历史记录共有 46 个文件,但是实际思源历史记录界面这条修改记录底下只有 32 个文档
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions