-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Search first
- I searched and no similar issues were found
What Happened?
When creating a new page on Logseq for Android that includes a special character (that would be percent encoded in the filename), briefly after starting to add content to it I get a "Page already exists with another file" error.
Any content added to the page is lost after closing and reopening the app.
Reproduce the Bug
- On Logseq for Android create a new page including a special character, such as "Test:1".
- Add some text to the page you have just created.
- A "Page already exists with another file" error should appear.
- Close and open the app.
- Open the page you created in step 1.
Expected Behavior
No error message should appear and the content added to the page should still be there after closing and opening the app.
Screenshots
For some reason I still haven't figured out, the interface shows in Italian even though the rest of my OS is in English. It must be some locale thing I touched somewhere some day, I just can't remember.
But it reads:
Page already exists with another file:
pages/Test%3A1.md,
current file:
pages/Test:1.md. Please keep only one of them and re-index your graph
Desktop or Mobile Platform Information
Logseq v0.10.3 on Android 12. Same behavior using Logseq 0.9.13.
Additional Context
The percent-encoded file (Test%3A1.md
in the example) is indeed created, but content added to the page after the error message appears is not saved to the file anymore. No Test:1.md
file is created.
I found a few bugs that may be related: #5114, #4972, #8915. However, two of them are closed and all of them refer to a more complex scenario where files are being synced between two devices. This bug should be reproduced without needing to sync files with another device.
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)