Synchronous editing of a post leads to PostNotFound exceptions

Create issue
Issue #2649 open
Thomas Niebler created an issue

When two people edit a post synchronously and one saves it before the other, the other user gets an exception that the edited post could not be found in the database. While this is true (since the post has been edited), this is confusing behaviour.

This could be solved as follows: When saving a post, it could be checked by JavaScript if the edited post still exists. If the post does not exist, either block the user from saving the post or show him a corresponding error message.

If possible, try to find out the new post and show the edit differences, so the edits from both users can be merged.

Comments (6)

  1. Log in to comment