laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
45.71k stars 4.97k forks source link

Note history issue on edit after import from JEX #11070

Open woodedjurassicpark opened 1 month ago

woodedjurassicpark commented 1 month ago

Operating system

Windows

Joplin version

3.0.1-beta / latest

Desktop version info

Joplin 3.0.15 (prod, win32)

Client ID: 873500b68f9240e7980ef9d121159963 Sync Version: 3 Profile Version: 47 Keychain Supported: Yes

Revision: 598677b

Backup: 1.4.1

Current behaviour

After exporting to JEX and importing into another profile, Note history on first edit only stores that edit and not the originally imported note.

Off topic: I originally started this as an issue with Note history because it seems to either take forever (sometimes hours to days) to update or not at all. Which seem to affect the imported notes more? However, it has been too inconsistent to track down if there is a problem. For this, the developer console shows the following errors after clicking notes history button, "Unsupported message in revision view: percentScroll" and "Unsupported message in revision view: noteRenderComplete": image image

Expected behaviour

Note history should retain the imported note version, not the new edit after import.

Logs

No response

personalizedrefrigerator commented 3 weeks ago

At present, note history is not included in JEX exports. See:

woodedjurassicpark commented 2 weeks ago

I want to clarify. This is not about the notes history missing from export, which would be a great feature. Let me provide an example.

Say I make a note with the words "I am a note" in it. Then I export that note and import it to another profile. When I go to edit that note to "I am a modified note" The note that gets stored in the history is "I am a modified note" not the original "I am a note". I believe this is a bug that can cause loss of information, which could potentially be important.