obsidian-livesync
obsidian-livesync copied to clipboard
The note isn't synced if it contains question mark in title
Expected behavior: All notes are being uploaded correctly
Actual behaviour: Notes with '?' in title aren't syncing
Steps to reproduce:
- (first device) Create a note with a question mark in title
- (first device) Create other notes without question mark in title
- (first device) Command palette -> Replicate now
- (second device) Command palette -> Replicate now
- All notes are synced, except for the one with question mark in title
Additional conditions:
- Have been syncing notes between macbook and android device. Everything was fine until I'd created a note with a question mark in title.
Sync status:
14/11/2022, 14:25:23->Scanning plugins
14/11/2022, 14:25:23->Nothing changed:Self-hosted LiveSync
14/11/2022, 14:25:23->Scan plugin done.
14/11/2022, 14:26:21->Content saved:Basics/Untitled.md ,pieces:1 (new:0, skip:1, cache:0)
14/11/2022, 14:26:21->DB <- STORAGE (plain) Basics/Untitled.md
14/11/2022, 14:26:23->Scanning plugins
14/11/2022, 14:26:23->Nothing changed:Obsidian Git
14/11/2022, 14:26:23->Nothing changed:Self-hosted LiveSync
14/11/2022, 14:26:23->Scan plugin done.
14/11/2022, 14:26:25->file save Basics/13. test?.md into db
14/11/2022, 14:26:25->Content saved:Basics/13. test?.md ,pieces:1 (new:0, skip:1, cache:1)
14/11/2022, 14:26:25->DB <- STORAGE (plain) Basics/13. test?.md
14/11/2022, 14:26:25->deleted Basics/Untitled.md from db
14/11/2022, 14:26:25->entry removed:Basics/Untitled.md-18-7ff18f17200397d61878854cff767f22
14/11/2022, 14:26:27->Content saved:Basics/13. test?.md ,pieces:1 (new:1, skip:0, cache:0)
14/11/2022, 14:26:27->DB <- STORAGE (plain) Basics/13. test?.md
14/11/2022, 14:26:29->Content saved:Basics/Untitled.md ,pieces:1 (new:0, skip:1, cache:1)
14/11/2022, 14:26:29->DB <- STORAGE (plain) Basics/Untitled.md
14/11/2022, 14:26:34->file save Basics/14. test, test, test.md into db
14/11/2022, 14:26:34->Content saved:Basics/14. test, test, test.md ,pieces:1 (new:0, skip:1, cache:1)
14/11/2022, 14:26:34->DB <- STORAGE (plain) Basics/14. test, test, test.md
14/11/2022, 14:26:34->deleted Basics/Untitled.md from db
14/11/2022, 14:26:34->entry removed:Basics/Untitled.md-20-e43808fa23d604520be5d0555204d737
14/11/2022, 14:26:36->Content saved:Basics/14. test, test, test.md ,pieces:1 (new:1, skip:0, cache:0)
14/11/2022, 14:26:36->DB <- STORAGE (plain) Basics/14. test, test, test.md
14/11/2022, 14:27:16->Content saved:Basics/Untitled.md ,pieces:1 (new:0, skip:1, cache:1)
14/11/2022, 14:27:16->DB <- STORAGE (plain) Basics/Untitled.md
14/11/2022, 14:27:21->file save Basics/15. test test test.md into db
14/11/2022, 14:27:21->Content saved:Basics/15. test test test.md ,pieces:1 (new:0, skip:1, cache:1)
14/11/2022, 14:27:21->DB <- STORAGE (plain) Basics/15. test test test.md
14/11/2022, 14:27:21->deleted Basics/Untitled.md from db
14/11/2022, 14:27:21->entry removed:Basics/Untitled.md-22-dc8a4cee0e447bbd7aa0167fa9a6fdcf
14/11/2022, 14:27:23->Scanning plugins
@muerwre Really sorry for being late! However, it is heartbreaking to tell you this, it is a limitation of Obsidian. We cannot make files, which have specific characters on Android and Windows. Also, you should see the error dialog while making them manually. So, Self-hosted LiveSync will ignore them when. Perhaps it can be enabled between Macs but, in now, ignoring them for safety. I hope that this answers your question.
@vrtmrz yes, thanks for clarification!