HelloZeroNet / HelloZeroNet/ZeroBlog

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

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
CSS
Stars
141
Forks
61
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.