Joplin has a chance of being unable to restore historical notes

Operating system

macOS

Joplin version

3.1.24

Desktop version info

Joplin 3.1.24 (prod, darwin)

用戶端 ID:3bd848d8244c4bc883881f1af7e5af83
同步版本:3
設定檔版本:47
鑰匙圈支援:是

修訂版:d581264

Backup: 1.4.2
Conflict Resolution: 1.2.3
Copy Code Blocks: 1.1.2
Freehand Drawing: 2.12.0
Inline tags: 1.3.0
Markdown Table: Colorize: 1.2.0
Math Mode: 0.7.1
Note Tabs: 1.4.0
Outline: 1.5.13
Quick Links: 1.3.2
RevealJS Integration: 0.14.0
Rich Markdown: 0.15.1
Templates: 2.4.0

Sync target

Joplin Server

Editor

Markdown Editor

What issue do you have?

I'm pretty sure I have "Historical Version Recording" turned on here, and the setting value is 180 days.
And I edited a note that no longer has any historical version records.
After editing, the historical version record will not contain the version before editing.
There is a chance that there is no previous version, and there is also a chance that it is a changed version.

The expected state is to be able to revert to the previous version
(Currently, it has been found that notes without any history will have this problem)

Do you mean that the system sometimes fails to create a snapshot of the note before the latest edit?

If so, are the following statements valid?
Expected vs. Actual Behavior

Expected: Any edit on a note should trigger Joplin to create a historical record if "Historical Version Recording" is enabled, allowing the user to revert to the last version even if the note initially has no history.
Actual: For notes without any historical versions, editing does not always save the state prior to the edit, leading to a lack of revertible versions.

Yes, right
My notes are sometimes older than the 180-day period, and some were imported using Import, which have no history.
However, if I delete certain words, I can no longer restore it to the previous version.

Sounds like a bug to me that should be reported on GitHub

Ask which one? I looked through it that day and didn’t seem to see it, but it doesn’t rule out that I wrote the keyword wrong.