Last modified: 2012-06-06 13:38:18 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 T34643, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32643 - action=purge with forcelinkupdate gives fatal when reach ratelimit
action=purge with forcelinkupdate gives fatal when reach ratelimit
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.18.x
All All
: High normal (vote)
: ---
Assigned To: Brad Jorsch
: patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-25 17:33 UTC by db [inactive,noenotif]
Modified: 2012-06-06 13:38 UTC (History)
8 users (show)

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


Attachments

Description db [inactive,noenotif] 2011-11-25 17:33:25 UTC
When using action=purge with forcelinkupdate and it hits the ratelimit, the following stacktrace is shown:

<?xml version="1.0"?><api servedby="srv296"><error code="internal_api_error_MWException" info="Exception Caught: Internal error in ApiResult::setContent: Bad parameter" xml:space="preserve">

#0 /usr/local/apache/common-local/php-1.18/includes/api/ApiBase.php(1241): wfDebugDieBacktrace('Internal error ...')
#1 /usr/local/apache/common-local/php-1.18/includes/api/ApiResult.php(177): ApiBase::dieDebug('ApiResult::setC...', 'Bad parameter')
#2 /usr/local/apache/common-local/php-1.18/includes/api/ApiBase.php(216): ApiResult::setContent(Array, Array)
#3 /usr/local/apache/common-local/php-1.18/includes/api/ApiPurge.php(94): ApiBase-&gt;setWarning(Array)
#4 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(692): ApiPurge-&gt;execute()
#5 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(358): ApiMain-&gt;executeAction()
#6 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(342): ApiMain-&gt;executeActionWithErrorHandling()
#7 /usr/local/apache/common-local/php-1.18/api.php(115): ApiMain->execute()
#8 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...')
#9 {main}

</error></api>

The line in action=purge is:
$this->setWarning( $this->parseMsg( array( 'actionthrottledtext' ) ) );
Comment 1 Brad Jorsch 2012-06-02 13:43:57 UTC
Gerrit change #9792 should fix it.
Comment 2 Dereckson 2012-06-06 08:38:36 UTC
Bug assigned to the patch submitter.
Comment 3 Brad Jorsch 2012-06-06 13:38:18 UTC
Changeset has been merged to master, and (unless reverted) will therefore be included in the next release.

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


Navigation
Links