Last modified: 2014-10-01 00:08: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 T66940, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64940 - Flow: throws exceptions from feedcontributions API, in Formatter/AbstractQuery: Accessing non-existent parameter: page_namespace
Flow: throws exceptions from feedcontributions API, in Formatter/AbstractQuer...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-06 04:58 UTC by spage
Modified: 2014-10-01 00:08 UTC (History)
5 users (show)

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


Attachments

Description spage 2014-05-06 04:58:16 UTC
There were a few bursts of this error today on mediawiki.org

last one is:

2014-05-05 19:04:11 mw1133 mediawikiwiki: [0616ab78] /w/api.php?action=feedcontributions&user=MarkTraceur&feedformat=atom   Exception from line 346 of /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Formatter/AbstractQuery.php: Accessing non-existent parameter: page_namespace
#0 /usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiFeedContributions.php(106): Flow\Formatter\FormatterRow->__get('page_namespace')
#1 /usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiFeedContributions.php(98): ApiFeedContributions->feedItem(Object(Flow\Formatter\ContributionsRow))
#2 /usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiMain.php(913): ApiFeedContributions->execute()
#3 /usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiMain.php(363): ApiMain->executeAction()
#4 /usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiMain.php(334): ApiMain->executeActionWithErrorHandling()
#5 /usr/local/apache/common-local/php-1.24wmf3/api.php(85): ApiMain->execute()

It happens if I paste the API query, or if I query for anyone who has made a Flow contribution, e.g.

http://en.wikipedia.beta.wmflabs.org/w/api.php?action=feedcontributions&user=Spage_beta&feedformat=atom

ApiFeedContributions is asking for the page_namespace and whatever Flow formatter is responding doesn't implement a getter for that, so the "// protect against typos" handler in the parent formatter class throws this exception.

Special:Contributions doesn't call the API unless it gets an unexpected parameter, so most likely some bot or external query is calling this and failing. The api.log is so enormous I can't find the query in it.
Comment 1 Gerrit Notification Bot 2014-05-07 20:34:36 UTC
Change 132105 had a related patch set uploaded by EBernhardson:
Allow extensions to handle their contributions entries

https://gerrit.wikimedia.org/r/132105
Comment 2 Gerrit Notification Bot 2014-09-10 16:50:24 UTC
Change 132105 abandoned by EBernhardson:
Allow extensions to handle their contributions entries

Reason:
Long untouched, and I'm not seeing any Flow patches that would use this.

https://gerrit.wikimedia.org/r/132105
Comment 3 Quiddity 2014-10-01 00:08:18 UTC
Patch abandoned, resetting to new.

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


Navigation
Links