Page MenuHomePhabricator

RuntimeException in ApiCentralNoticeQueryCampaign
Closed, ResolvedPublicPRODUCTION ERROR

Description

Steps to reproduce:
Visit https://en.wikibooks.org/w/api.php?action=centralnoticequerycampaign&campaign=!(()%26%26!%7C*%7C*%7C&format=json

Error message
{"error":{"code":"internal_api_error_RuntimeException","info":"[X88RnwpAEMQAAAXegAQAAADJ] Caught exception of type RuntimeException","errorclass":"RuntimeException"},"servedby":"mw1315"}
Attempting to add element =, existing value is

Details

Request ID
X88RnwpAEMQAAAXegAQAAADJ
Request URL
https://en.wikibooks.org/w/api.php?action=centralnoticequerycampaign&campaign=!(()%26%26!%7C*%7C*%7C&format=json
Stack Trace

#0 /srv/mediawiki/php-1.36.0-wmf.20/includes/api/ApiResult.php(411): ApiResult::setValue(array, string, boolean, integer)
#1 /srv/mediawiki/php-1.36.0-wmf.20/extensions/CentralNotice/includes/api/ApiCentralNoticeQueryCampaign.php(38): ApiResult->addValue(array, string, boolean)
#2 /srv/mediawiki/php-1.36.0-wmf.20/includes/api/ApiMain.php(1607): ApiCentralNoticeQueryCampaign->execute()
#3 /srv/mediawiki/php-1.36.0-wmf.20/includes/api/ApiMain.php(587): ApiMain->executeAction()
#4 /srv/mediawiki/php-1.36.0-wmf.20/includes/api/ApiMain.php(558): ApiMain->executeActionWithErrorHandling()
#5 /srv/mediawiki/php-1.36.0-wmf.20/api.php(90): ApiMain->execute()
#6 /srv/mediawiki/php-1.36.0-wmf.20/api.php(45): wfApiMain()
#7 /srv/mediawiki/w/api.php(3): require(string)
#8 {main}

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 649416 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[mediawiki/extensions/CentralNotice@master] Anchor regex for campaign sanitization

https://gerrit.wikimedia.org/r/649416

Change 649416 merged by jenkins-bot:
[mediawiki/extensions/CentralNotice@master] Anchor regex for campaign sanitization

https://gerrit.wikimedia.org/r/649416

Umherirrender assigned this task to Ejegg.