Last modified: 2014-05-10 14:03:43 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 T66938, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64938 - Flow: fatal error from Flow\Model\TopicListEntry::toStorageRow() paginating Talk:Compact Personal Bar
Flow: fatal error from Flow\Model\TopicListEntry::toStorageRow() paginating T...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 64810 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-06 01:59 UTC by spage
Modified: 2014-05-10 14:03 UTC (History)
6 users (show)

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


Attachments

Description spage 2014-05-06 01:59:12 UTC
Bug 61349 is back, slightly different. We're getting a steady stream of these fatals on mediawiki.org, all from https://www.mediawiki.org/wiki/Talk:Compact_Personal_Bar, all an API request to paginate more topics into view.  You can trigger it by scrolling past the "What bugs or issues have you experienced" topic.

Most recent:

[2014-05-05 22:06:04] Catchable fatal error: Argument 1 passed to Flow\Model\TopicListEntry::toStorageRow() must be an instance of Flow\Model\TopicListEntry, boolean given at /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Model/TopicListEntry.php on line 57

Method: GET
URL: http://www.mediawiki.org/w/api.php?action=query&format=json&list=flow&flowpage=Talk%3ACompact+Personal+Bar&flowworkflow=rrn12bzovuecb4ss&flowaction=view&flowparams=%7B%22topiclist%22%3A%7B%22offset-dir%22%3A%22fwd%22%2C%22offset-id%22%3A%22rrn2mhn8pm8qtrgx%22%2C%22limit%22%3A10%2C%22render%22%3Atrue%7D%7D
...
Backtrace:
#0 /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Model/TopicListEntry.php(57): Flow\Model\TopicListEntry::toStorageRow()
#1 [internal function]: Flow\Model\TopicListEntry::toStorageRow(false)
#2 /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Data/CachingObjectMapper.php(31): call_user_func(Array, false)
#3 /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Data/ObjectManager.php(195): Flow\Data\CachingObjectMapper->toStorageRow(false)
#4 /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Data/Pager.php(152): Flow\Data\ObjectManager->serializeOffset(false, Array)
#5 /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Data/Pager.php(118): Flow\Data\Pager->makePagingLink('rev', false, 10)
#6 /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Data/Pager.php(57): Flow\Data\Pager->processPage('fwd', Object(Flow\Model\UUID), 10, Array)
#7 /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Block/TopicList.php(293): Flow\Data\Pager->getPage()
#8 /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/Block/TopicList.php(220): Flow\Block\TopicListBlock->getPage(Array)
#9 /usr/local/apache/common-local/php-1.24wmf3/extensions/Flow/includes/api/ApiQueryFlow.php(37): Flow\Block\TopicListBlock->renderAPI(Object(Flow\Templating), Array)
#10 /usr/local/apache/common-local/php-1.24wmf3/includes/api/ApiQuery.php(282): ApiQueryFlow->execute()
Comment 1 Quiddity 2014-05-06 20:19:01 UTC
*** Bug 64810 has been marked as a duplicate of this bug. ***
Comment 2 Gerrit Notification Bot 2014-05-07 00:00:28 UTC
Change 131912 had a related patch set uploaded by Bsitu:
Incorrect offset key position

https://gerrit.wikimedia.org/r/131912
Comment 3 Gerrit Notification Bot 2014-05-07 00:10:02 UTC
Change 131912 merged by jenkins-bot:
Incorrect offset key position

https://gerrit.wikimedia.org/r/131912
Comment 4 spage 2014-05-09 23:50:01 UTC
FWIW, adding a topic fixed the specific occurrence on Talk:Compact Personal Bar. As I understand, it's a start at 0 vs. start at 1 issue in the infinite-scroll auto-paginating code.

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


Navigation
Links