When using a custom storage path, the file name for storage is incorrect
What happened?
report from twitter
added the undefined name at the beginning.
Distribution version
macOS x64
What browsers are you seeing the problem on if you're using web version?
No response
Relevant log output
No response
Anything else?
No response
Are you willing to submit a PR?
- [ ] Yes I'd like to help by submitting a PR!
https://github.com/toeverything/AFFiNE/blob/8a565b8633a1e72dc5a7fbd62089367b0adb000a/apps/electron/src/helper/dialog/dialog.ts#L101-L102
seems like db.getWorkspaceName() will return undefined
It can be undefined sometimes. But i can't reproduced.
@pengx17
It can be undefined sometimes. But i can't reproduced.
It seems there is some dataloss in the sqlite provider sometimes which will cause this issue. I am still investigating the issue.
Issue Status: ✅ Done
✅ Done
If the issue was a bug, it’s been fixed; if it was a missing feature, it’s been implemented.
This is an automatic reply by the bot.