Page MenuHomePhabricator

TopicListBlock.php sort order params
Closed, DuplicatePublicPRODUCTION ERROR



Request URL:

[{exception_id}] {exception_url}   Flow\Exception\FlowException from line 396 of /srv/mediawiki/php-1.34.0-wmf.14/extensions/Flow/includes/Block/TopicListBlock.php: The `newest` sort order does not allow the `offset` parameter.  Please use `offset-id`.
#0 /srv/mediawiki/php-1.34.0-wmf.14/extensions/Flow/includes/Block/TopicListBlock.php(257): Flow\Block\TopicListBlock->getFindOptions(array)
#1 /srv/mediawiki/php-1.34.0-wmf.14/extensions/Flow/includes/View.php(235): Flow\Block\TopicListBlock->renderApi(array)
#2 /srv/mediawiki/php-1.34.0-wmf.14/extensions/Flow/includes/View.php(71): Flow\View->buildApiResponse(Flow\WorkflowLoader, array, string, array)
#3 /srv/mediawiki/php-1.34.0-wmf.14/extensions/Flow/includes/Actions/Action.php(112): Flow\View->show(Flow\WorkflowLoader, string)
#4 /srv/mediawiki/php-1.34.0-wmf.14/extensions/Flow/includes/Actions/ViewAction.php(20): Flow\Actions\FlowAction->showForAction(string, OutputPage)
#5 /srv/mediawiki/php-1.34.0-wmf.14/extensions/Flow/includes/Actions/Action.php(50): Flow\Actions\ViewAction->showForAction(string)
#6 /srv/mediawiki/php-1.34.0-wmf.14/includes/MediaWiki.php(499): Flow\Actions\FlowAction->show()
#7 /srv/mediawiki/php-1.34.0-wmf.14/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
#8 /srv/mediawiki/php-1.34.0-wmf.14/includes/MediaWiki.php(884): MediaWiki->performRequest()
#9 /srv/mediawiki/php-1.34.0-wmf.14/includes/MediaWiki.php(515): MediaWiki->main()
#10 /srv/mediawiki/php-1.34.0-wmf.14/index.php(42): MediaWiki->run()
#11 /srv/mediawiki/w/index.php(3): include(string)
#12 {main}


To be determined.


This is a new error and thus I'm treating it as a train blocker until I'm told otherwise. Thank you.

Event Timeline

LarsWirzenius triaged this task as Unbreak Now! priority.Jul 18 2019, 11:41 AM

This is strangely similar to T228417: RevisionFormatter.php: Unknown content format

This URL is used in the non-javascript experience to load new topics at the end of a long Flow board.

The combination of sort and offset (as opposed to offset-id) is what breaks here but the sortby parameter has gibberish very similar to what we observed in the task above.

I recommend we downgrade to High and remove as train blocker while we investigate.

Thanks. I'll downgrade and remove as blocker.

LarsWirzenius lowered the priority of this task from Unbreak Now! to High.Jul 18 2019, 1:19 PM

This is probably a duplicate of T211798, right?

This is probably a duplicate of T211798, right?


mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:06 PM