5

I submitted a suggested edit on this question in order to remove the 'code snippet' that the OP had inserted their C++ code into.

I submitted a suggested edit, but however another user also edited the question while I had the edit page open, with the exact same edit. As a result of this my suggested edit was submitted but however didn't change the question at all because the other user had already edited it:

enter image description here

Surely this is a bug? Normally if a user submits an edit while the question is being edited a message is shown that the question has been edited, but this wasn't the case here?

Can duplicate edits in this situation be prevented?

I assume that this bug occured because the question was edited by a super-user and myself at the same time, thus the two conflicting with each-other.

1 Answer 1

4

You hadn't completed the edit yet, so no such message could be shown.

Order of events:

  • You and the OP opened the editor around the same time
  • OP submitted their edit
  • You submitted your edit

There was a difference between your edit and theirs; yours added some whitespace too (view the Markdown difference).

As such there was no edit to warn the OP about. You didn't get a warning either, because your edit submission came too close after the OP edited. Since the OP edits were in the grace period, it is hard to determine exactly how close together your edits were submitted. On top of that, the OP deleted the question.

This is simply a limitation in how concurrent edits are handled on the site; there is no locking while you edit.

5
  • Yes, but if that's true, how come my edit is shown as 'under review'?
    – AStopher
    Commented Dec 5, 2014 at 9:48
  • @cybermonkey: because your suggested edit was submitted for review. It doesn't matter here that the post is now deleted. It may be that it does mean that most reviewers won't be able to see the suggestion. Commented Dec 5, 2014 at 9:49
  • True, but if my edit was too close to the current revision, wouldn't it be rejected by the system?
    – AStopher
    Commented Dec 5, 2014 at 9:50
  • @cybermonkey: no, not if the edits came in close together. Commented Dec 5, 2014 at 9:52
  • @cybermonkey: I tested with my sock account (1 rep) and I can still see the suggested edit. Commented Dec 5, 2014 at 9:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .