Last modified: 2014-03-31 18:47:24 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 T65150, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63150 - "Invalid feed class/item" exceptions from ApiFormatFeedWrapper
"Invalid feed class/item" exceptions from ApiFormatFeedWrapper
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-26 21:48 UTC by spage
Modified: 2014-03-31 18:47 UTC (History)
4 users (show)

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


Attachments

Description spage 2014-03-26 21:48:57 UTC
While deploying, I noticed numerous "Internal error in ApiFormatFeedWrapper::execute: Invalid feed class/item" exceptions in fluorine:/a/mw-log/exception.log

2014-03-26 21:40:17 mw1197 enwiki: [659b7cd8] /w/api.php?hidebots=1&days=7&limit=50&hidewikidata=1&action=feedrecentchanges&feedformat=atom   Exception from line 2008 of /usr/local/apache/common-local/php-1.23wmf18/includes/api/ApiBase.php: Internal error in ApiFormatFeedWrapper::execute: Invalid feed class/item

in exception.log. All from enwiki.  Most are this URL, some are feedformat=rss instead of atom.
Comment 1 Brad Jorsch 2014-03-27 15:17:19 UTC
What appears to be happening here is that an API error is being raised somewhere after the point where the custom feed printer is initialized, and the custom feed printer chokes when asked to print that API error.

I don't see any obvious candidates for the cause of the original error, but that doesn't matter much since this situation should be handled anyway. For testing, this bug can be reproduced by locally editing ApiFeedRecentChanges to throw an exception from its execute() method.
Comment 2 Gerrit Notification Bot 2014-03-27 15:17:40 UTC
Change 121381 had a related patch set uploaded by Anomie:
API: Allow for format modules that cannot handle errors

https://gerrit.wikimedia.org/r/121381
Comment 3 Gerrit Notification Bot 2014-03-31 17:48:49 UTC
Change 121381 merged by jenkins-bot:
API: Allow for format modules that cannot handle errors

https://gerrit.wikimedia.org/r/121381
Comment 4 Brad Jorsch 2014-03-31 18:47:24 UTC
This should be deployed to WMF wikis with 1.23wmf21, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.

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


Navigation
Links