Last modified: 2014-02-12 23:53:36 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 T55378, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53378 - ApiMobileView::getData: PoolCounter didn't return parser output
ApiMobileView::getData: PoolCounter didn't return parser output
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Max Semenik
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-26 22:22 UTC by Aaron Schulz
Modified: 2014-02-12 23:53 UTC (History)
9 users (show)

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


Attachments

Description Aaron Schulz 2013-08-26 22:22:41 UTC
Fair amount of:

2013-08-26 18:24:03 mw1191 enwiki: [f0386546] /w/api.php?action=mobileview&page=Roman+Way+to+the+Gods&redirects=yes&prop=sections%7Ctext&sections=&sectionprop=level%7Cline&noheadings=yes&format=json   Exception from line 204 of /usr/local/apache/common-local/php-1.22wmf13/extensions/MobileFrontend/includes/api/ApiMobileView.php: ApiMobileView::getData: PoolCounter didn't return parser output
#0 /usr/local/apache/common-local/php-1.22wmf13/extensions/MobileFrontend/includes/api/ApiMobileView.php(65): ApiMobileView->getData(Object(Title), false)
#1 /usr/local/apache/common-local/php-1.22wmf13/includes/api/ApiMain.php(840): ApiMobileView->execute()
#2 /usr/local/apache/common-local/php-1.22wmf13/includes/api/ApiMain.php(380): ApiMain->executeAction()
#3 /usr/local/apache/common-local/php-1.22wmf13/includes/api/ApiMain.php(351): ApiMain->executeActionWithErrorHandling()
#4 /usr/local/apache/common-local/php-1.22wmf13/api.php(73): ApiMain->execute()
#5 /usr/local/apache/common-local/w/api.php(3): require('/usr/local/apac...')
#6 {main}

Maybe $latest should be checked to see if it is not false and passed to getParserOutput().
Comment 1 Max Semenik 2013-08-28 19:52:58 UTC
Hmm, but getParserOutput() already does:

if ( $oldid === null || $oldid === 0 ) {
	$oldid = $this->getLatest();
}

So passing it would be a no-op?
Comment 2 Gerrit Notification Bot 2013-09-25 14:28:17 UTC
Change 85980 had a related patch set uploaded by MaxSem:
Check latest revision in mobileview

https://gerrit.wikimedia.org/r/85980
Comment 3 Gerrit Notification Bot 2013-09-26 21:32:22 UTC
Change 85980 merged by jenkins-bot:
Check latest revision in mobileview

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

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


Navigation
Links