Page MenuHomePhabricator

Edit conflicts with yourself
Open, Needs TriagePublic

Description

In some cases it seems to be generally possible to trigger edit conflicts with yourself. This should not be possible.

To ways to do that:

An edit conflict when creating a new page under the following conditions:

  • I am not logged in ( when I am logged in - at least this method - does not work )
  • I create a new page with some random text ( do not submit yet )
  • I click the save buton three times very fast ( clicking very fast only twice does not seem to be enough help )
  • I get an edit conflict although it's the same user and it's identical content ( the diff is even empty here )

An edit conflict when adding a new topic to a talk page:

  • I visit a random talk page ( logged in or not )
  • I add a new topic by clicking on the Add topic link
  • I click the save buton three times very fast ( clicking very fast only twice does not seem to be enough help )
  • I get an edit conflict although it's the same user and it's identical content ( I at least get a diff although it looks weird )

Possibly related ( but not sure ) T58849

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 8 2019, 4:01 PM
Ost316 added a subscriber: Ost316.Oct 28 2019, 9:24 PM
Ost316 added a comment.EditedOct 28 2019, 9:27 PM

This happens frequently to me. Are the only current solutions to disable this tool or ignore it?

Evad37 added a subscriber: Evad37.Nov 10 2019, 2:26 AM

Just now got a self- edit conflict while editing an existing section (this edit):

Wargo added a subscriber: Wargo.Nov 15 2019, 7:06 PM

I am constantly experiencing this issue. I disabled all browser extensions in the latest version of Chrome (version 79.0.3945.88) except for Extension Manager. I closed ALL tabs but one. I edited my own sandbox page. And I got a false positive edit conflict. It doesn't seem to matter if I select Preview beforehand or not. It doesn't seem to matter how long I wait: 1 second or 1 minute, I usually get the false positive. I tried saving with and without a Edit Summary. This does not seem to affect the false positive issue.

I used FireFox to test editing and did not have any issues.

Anything else I can test?

Are you able to tell us if you are doing double clicks on the save button?

No I am not double clicking on Save.

More user reports incoming at https://www.mediawiki.org/wiki/Topic:Ve4w9eebvp4a93uq. Some say it might be a broken mouse that does double clicks without the user intentionally doing one. Others say it's only the Chrome browser.

I often get false positives. I do a lot of AfC reviewing, and often the comparison tool appears and I have to check all the options to select the changes I'm trying to make. I look at the edit history and nobody else has edited the page. The most recent example was Draft:Zikai. I am using the latest production version of Chrome.

We had a similar bug a while ago which ultimately was due to broken caching. If I have more time later I may look for the bug number.

I was editing a page, and encountered an edit conflict 1 second after my own edit.