To reproduce:
- start with a fresh install
- create admin account
- go to Phriction app
- notice that no root page exists
- click "new document", to create a page under the root
- spend lots of time crafting words
- click "Create Document"
Observed:
"You shall not pass". Document is not saved, or created.
Expected:
Document should be created and saved. Permissions should not be an issue because I'm an admin.
If you create a root wiki page first, then it works fine, so I'm guessing sub-pages can't exist of non-existent root pages. Then, I'd expect a notice of such when I click "New Document", before authoring a new page.
I'd expect autosave to be working if I can get as far as the document editor and preview. Losing data in a textarea because the browser / application crashed is so last decade.