Skip to content

Lose article content when trying to edit two articles at the same time #46

Open
@stbinan

Description

@stbinan

Open two articles in two tabs. Edit the first article, switch to markdown mode, then also edit the second article and switch to markdown mode. Return to the first article and save, then go to the second article and hit the save button. The save process will get stuck and the content of the second article gets lost. Also the home page of ZeroBlog misfunctions and can't scroll down, and it shows that the second article has 3 comments from post 23.
Quite dangerous, reproducible with new clone of ZeroBlog.
I check the data/data.json and find that body column is missing, if I add it back and sign the blog, the home page becomes normal again.
Tested with Tor browser.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions