Last modified: 2009-09-18 01:52:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22705, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20705 - api review action fails with syncerror
api review action fails with syncerror
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Aaron Schulz
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-17 22:49 UTC by Bawolff (Brian Wolff)
Modified: 2009-09-18 01:52 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bawolff (Brian Wolff) 2009-09-17 22:49:33 UTC
Using the api to sight a page (action=review) fails with a 'syncerror'. This happens if you try to set the flag_accuracy to 1. (setting an already flagged revision to 0 works fine). The expected result is for the action to succede.


Response i recieved:
<?xml version="1.0"?><api><error code="syncfailure" info="A sync failure has occured while reviewing. Please try again." /></api>

Request i sent to http://en.wikinews.org/w/api.php was (using POST method. this is taken from the firbug debug. IT was properly formatted when sent to server.):

action	review
comment	''Flagged page using [[user:Bawolff/mwapilib.js]]''
flag_accuracy	1
format	xml
revid	881430
token   **blanking out. I don't know if that something i'm supposed to publish or not**


Editing and other actions with the api seem to work fine. it was working until the software update.
Comment 1 Bawolff (Brian Wolff) 2009-09-18 00:17:25 UTC
Note last time we succesfully sighted something with API was 22:54, 16 September 2009
Comment 2 Aaron Schulz 2009-09-18 01:36:02 UTC
Repro's locally
Comment 3 Aaron Schulz 2009-09-18 01:52:38 UTC
Fixed in r56576 

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links