New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARV glitches: "Failed to save edit: Edit conflict detected" #19

Closed
Amalthea opened this Issue Jun 7, 2011 · 5 comments

Comments

Projects
None yet
3 participants
@Amalthea
Collaborator

Amalthea commented Jun 7, 2011

From

UAA & AIV reports sometimes can't be saved due to an alleged edit conflict. It tries to save two or three times, and then gives up.
I could reproduce it once, but the problem dissolved while I was trying to debug it. It re-manifests from time to time though.

@azatoth

This comment has been minimized.

Owner

azatoth commented Jun 7, 2011

Can you see if the server actually in it's reply indicate that it's an alleged edit conflict?

@Amalthea

This comment has been minimized.

Collaborator

Amalthea commented Jun 7, 2011

I only looked into it once and the issue disappeared before I could get anywhere, but at least the one time Walter Görlitz wrote that report the API must have actually reported an edit conflict: The section header he used, "Failed to save edit: Edit conflict detected", is assembled in morebits
ctx.statusElement.error( "Failed to save edit: " + ctx.saveApi.getErrorText() )
The error text "Edit conflict detected" is defined in ApiBase.php and returned by the api if it detected an edit conflict.

Since this problem is observable for minutes at a time, I'd suspect some cache or database lag issue here.

Amalthea added a commit that referenced this issue Jun 7, 2011

@atlight

This comment has been minimized.

Collaborator

atlight commented Jun 7, 2011

There seems to be a bug in the server API related to editing specific page sections. If the calls to setPageSection are removed, this error should go away.

@Amalthea

This comment has been minimized.

Collaborator

Amalthea commented Jun 8, 2011

synched, I'll tell folks to re-open if it still happens

@Amalthea Amalthea closed this Jun 8, 2011

@Amalthea

This comment has been minimized.

Collaborator

Amalthea commented Jun 8, 2011

If it /is/ fixed we may want to report this to bugzilla.wikimedia.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment