10

I edited this post and added a missing double quotes " in the code.

In the same time, somebody else edited it and removed some other lines.

When checking revision, the other's edit is mapped to my account.

Revision https://stackoverflow.com/posts/43152339/revisions

18
  • 1
    You made an edit that removed stuff directly related to the question as well as adding the missing quotation mark while they were also editing the question to simply add the missing quotation mark, which means it added the text back in that you removed because they did not remove the same text. Why did you remove that text?
    – user4639281
    Apr 1, 2017 at 3:26
  • 6
    @TinyGiant read the question carefully. I edited this post and added a missing double quotes " in the code. In the same time, somebody else edited it and removed some other lines.
    – Sagar V
    Apr 1, 2017 at 3:28
  • 1
    Are you saying that literally the only thing you did was add a single ", and the other deletions were not you?
    – elixenide
    Apr 1, 2017 at 3:29
  • 1
    @EdCottrell yes. Exactly. When I finished edit(inline edit), then it showed An edit has been made to this post. click to reload When I reloaded, the edit is applied but towards my account
    – Sagar V
    Apr 1, 2017 at 3:31
  • 2
    That would be exceptionally weird. How did you make the edit? On a computer, on a phone using a browser, or in a mobile app?
    – elixenide
    Apr 1, 2017 at 3:35
  • windows 10 Chrome
    – Sagar V
    Apr 1, 2017 at 3:35
  • 2
    This is pretty common side-effect of editing a post while the grace period is still in effect.
    – Martijn Pieters Mod
    Apr 1, 2017 at 17:33
  • @EdCottrell: no it isn't. The edit was made during the grace period, so the OP added text, that was missing from the version that Sagar edited. So his revision was accepted and that was effectively removing the text again. This happens to me too from time to time.
    – Martijn Pieters Mod
    Apr 1, 2017 at 17:34
  • @MartijnPieters Interesting; I've never seen that before. I'm with OP: seems very confusing to show it that way.
    – elixenide
    Apr 1, 2017 at 17:35
  • @EdCottrell: well, the diffs are just generated based on the actual contents. Not much can be done other than pay attention to the 'post has been edited' notifications. It's not as if it is hard to put the text back in. Or, just not edit so soon after a post is created.
    – Martijn Pieters Mod
    Apr 1, 2017 at 17:36
  • @EdCottrell: the alternative is to insert a revision ID that is unique even to grace-period revisions into the edit form, then block accepting the edit if there was a change. That has downsides too.
    – Martijn Pieters Mod
    Apr 1, 2017 at 17:38
  • @MartijnPieters normally if I am editing a post and someone else already edited it, then it shows can't submit edit. person x edited the body. reload the edit. Why it did't show this time?
    – Sagar V
    Apr 1, 2017 at 17:41
  • 1
    @SagarV: no, you get that message only if your change is not substantive enough; the message states your change is not different enough and is not accepted.
    – Martijn Pieters Mod
    Apr 1, 2017 at 17:45
  • @SagarV: in other words, as long as your edit is different enough from the previously accepted revision, it'll be accepted. Regardless of when that other revision was made (before or after you started editing).
    – Martijn Pieters Mod
    Apr 1, 2017 at 17:46
  • 1
    @SagarV: 5 minutes. Any follow-up edit by the same editor is folded into the revision without any further trace for that duration.
    – Martijn Pieters Mod
    Apr 1, 2017 at 17:48

1 Answer 1

20

When you started editing, the post was missing some text still. However, the OP was also editing the post, during the grace period, and added that text before you submitted your edit.

You then submitted your edit, which was based on the revision without the text, and that effectively removed it again.

The diff shows what changed, not what you edited. And because the OP made the edit in the grace period, there is no actual audit trail for this, other than the time stamps (the post was created at 03:04:25 UTC, you edited at 03:05:19 UTC, well within the 5 minute grace period).

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