Last modified: 2009-05-07 20:09:54 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 T20710, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18710 - ApiParamInfo: Internal error with empty parameter
ApiParamInfo: Internal error with empty parameter
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-07 19:52 UTC by Umherirrender
Modified: 2009-05-07 20:09 UTC (History)
3 users (show)

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


Attachments

Description Umherirrender 2009-05-07 19:52:58 UTC
An empty &modules= or &querymodules= gives a internal error:

  <error code="internal_api_error_MWException" info="Exception Caught: Internal error in ApiResult::setIndexedTagName: Bad parameter">

#0 /usr/local/apache/common-local/php-1.5/includes/api/ApiBase.php(856): wfDebugDieBacktrace('Internal error ...')
#1 /usr/local/apache/common-local/php-1.5/includes/api/ApiResult.php(192): ApiBase::dieDebug('ApiResult::setI...', 'Bad parameter')
#2 /usr/local/apache/common-local/php-1.5/includes/api/ApiParamInfo.php(61): ApiResult->setIndexedTagName(NULL, 'module')
#3 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(414): ApiParamInfo->execute()
#4 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(232): ApiMain->executeAction()
#5 /usr/local/apache/common-local/php-1.5/includes/api/ApiMain.php(216): ApiMain->executeActionWithErrorHandling()
#6 /usr/local/apache/common-local/php-1.5/api.php(79): ApiMain->execute()
#7 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...')
#8 {main}

</error>

Please handled this in the same way as unrecognized values for the param. Thanks.
Comment 1 Chad H. 2009-05-07 20:09:54 UTC
Fixed in r50320

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


Navigation
Links