logseq / logseq

A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: http://trello.com/b/8txSM12G/roadmap
https://logseq.com
GNU Affero General Public License v3.0
30.07k stars 1.76k forks source link

[Android] Random blocks replaced by `- id:: xxxx` #11270

Open e-zz opened 3 weeks ago

e-zz commented 3 weeks ago

Search first

What Happened?

Sometimes the content of some random blocks are lost and replaced by id:: xxxx string

For example,

- the first block
- the second block
- ....

sometime after the block might turn blank. The content in some block is missing:

- the first block
- id:: 65c42282-ae26-4d6f-9531-ad90f2ddfe82
- ....

It's not clear to me why some are affected while the others are intact. I believe this happens on android because when I restore the content from the backup folder, the change is made between two xxx.Androd.md files. This happens both to desktop and android applications I think. And it might be closely related to the self-hosted syncing service ( Like syncthig) which modifies the files on device and might cause problems.

Reproduce the Bug

test if you have the same problem

I don't know what's the cause. But it's easy to check if you're plagued by the same bug:

Expected Behavior

No response

Screenshots

No response

Desktop or Mobile Platform Information

Logseq(Android) v0.10.7 Logseq v0.10.5

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.