Reported by @Florian at T75148#1535145 .
https://www.mediawiki.org/wiki/Project:Support_desk
Error:
2015-08-13 14:47:46 mw1252 mediawikiwiki exception ERROR: [8a10dd43] /wiki/Project:Support_desk Flow\Exception\InvalidDataException from line 45 of /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Collection/PostCollection.php: No TopicListEntry founds for topic id s52bxzn9rgi3j9e0 {"exception":"[Exception Flow\\Exception\\InvalidDataException] (/srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Collection/PostCollection.php:45) No TopicListEntry founds for topic id s52bxzn9rgi3j9e0 [stacktrace] #0 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Collection/AbstractCollection.php(240): Flow\\Collection\\PostCollection->getBoardWorkflowId() #1 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/RevisionActionPermissions.php(76): Flow\\Collection\\AbstractCollection->getBoardWorkflow() #2 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Templating.php(131): Flow\\RevisionActionPermissions->isAllowed(Flow\\Model\\PostRevision, string) #3 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Formatter/TocTopicListFormatter.php(67): Flow\\Templating->getContent(Flow\\Model\\PostRevision, string) #4 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Block/TopicList.php(289): Flow\\Formatter\\TocTopicListFormatter->formatApi(Flow\\Model\\Workflow, array, array, Flow\\Data\\Pager\\PagerPage) #5 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Block/TopicList.php(231): Flow\\Block\\TopicListBlock->renderApi(array) #6 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/View.php(192): Flow\\Block\\TopicListBlock->renderTocApi(array, array) #7 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/View.php(69): Flow\\View->buildApiResponse(Flow\\WorkflowLoader, array, string, array) #8 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Actions/Action.php(101): Flow\\View->show(Flow\\WorkflowLoader, string) #9 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Actions/ViewAction.php(16): Flow\\Actions\\FlowAction->showForAction(string, OutputPage) #10 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Actions/Action.php(46): Flow\\Actions\\ViewAction->showForAction(string) #11 /srv/mediawiki/php-1.26wmf18/includes/MediaWiki.php(456): Flow\\Actions\\FlowAction->show() #12 /srv/mediawiki/php-1.26wmf18/includes/MediaWiki.php(255): MediaWiki->performAction(Article, Title) #13 /srv/mediawiki/php-1.26wmf18/includes/MediaWiki.php(677): MediaWiki->performRequest() #14 /srv/mediawiki/php-1.26wmf18/includes/MediaWiki.php(474): MediaWiki->main() #15 /srv/mediawiki/php-1.26wmf18/index.php(41): MediaWiki->run() #16 /srv/mediawiki/w/index.php(3): include(string) #17 {main} "}
Reproducible by visiting https://www.mediawiki.org/wiki/Topic:S52bxzn9rgi3j9e0 :
2015-08-13 18:16:46 mw1077 mediawikiwiki exception ERROR: [49b0f985] /wiki/Topic:S52bxzn9rgi3j9e0 Flow\Exception\InvalidDataException from line 45 of /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Collection/PostCollection.php: No TopicListEntry founds for topic id s52bxzn9rgi3j9e0 {"exception":"[Exception Flow\\Exception\\InvalidDataException] (/srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Collection/PostCollection.php:45) No TopicListEntry founds for topic id s52bxzn9rgi3j9e0 [stacktrace] #0 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Collection/AbstractCollection.php(240): Flow\\Collection\\PostCollection->getBoardWorkflowId() #1 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/RevisionActionPermissions.php(76): Flow\\Collection\\AbstractCollection->getBoardWorkflow() #2 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Block/Topic.php(822): Flow\\RevisionActionPermissions->isAllowed(Flow\\Model\\PostRevision, string) #3 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Block/Topic.php(479): Flow\\Block\\TopicBlock->loadTopicTitle() #4 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/View.php(176): Flow\\Block\\TopicBlock->renderApi(array) #5 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/View.php(69): Flow\\View->buildApiResponse(Flow\\WorkflowLoader, array, string, array) #6 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Actions/Action.php(101): Flow\\View->show(Flow\\WorkflowLoader, string) #7 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Actions/ViewAction.php(16): Flow\\Actions\\FlowAction->showForAction(string, OutputPage) #8 /srv/mediawiki/php-1.26wmf18/extensions/Flow/includes/Actions/Action.php(46): Flow\\Actions\\ViewAction->showForAction(string) #9 /srv/mediawiki/php-1.26wmf18/includes/MediaWiki.php(456): Flow\\Actions\\FlowAction->show() #10 /srv/mediawiki/php-1.26wmf18/includes/MediaWiki.php(255): MediaWiki->performAction(Article, Title) #11 /srv/mediawiki/php-1.26wmf18/includes/MediaWiki.php(677): MediaWiki->performRequest() #12 /srv/mediawiki/php-1.26wmf18/includes/MediaWiki.php(474): MediaWiki->main() #13 /srv/mediawiki/php-1.26wmf18/index.php(41): MediaWiki->run() #14 /srv/mediawiki/w/index.php(3): include(string) #15 {main} "}
mwscript eval.php --wiki=mediawikiwiki > $topicId = Flow\Model\UUID::create( 's52bxzn9rgi3j9e0' ); > var_export( $topicId->getHex() ); '0525626c05ef3f2490e148'
mysql:research@x1-analytics-slave [flowdb]> SELECT * FROM flow_workflow WHERE LOWER(HEX(workflow_id)) = '0525626c05ef3f2490e148'; Empty set (0.13 sec) mysql:research@x1-analytics-slave [flowdb]> SELECT * FROM flow_topic_list WHERE LOWER(HEX(topic_id)) = '0525626c05ef3f2490e148'; Empty set (0.13 sec) mysql:research@x1-analytics-slave [flowdb]> SELECT LOWER(HEX(rev_id)), rev_type, LOWER(HEX(rev_type_id)), LOWER(HEX(rev_parent_id)) FROM flow_revision WHERE LOWER(HEX(rev_type_id)) = '0525626c05ef3f2490e148'; Empty set (0.27 sec)
matthew@matthew-l55: ~/Code/Wikimedia/vagrant-latest/mediawiki/extensions/Flow% grep s52bxzn9rgi3j9e0 Project:Support_desk.after_2015-08-12_hhvm.log matthew@matthew-l55: ~/Code/Wikimedia/vagrant-latest/mediawiki/extensions/Flow%
mattflaschen@terbium:~$ mwscript eval.php --wiki=mediawikiwiki > $workflow = Flow\Container::get( 'storage' )->getStorage( 'Workflow' )->get( 's52bxzn9rgi3j9e0' ); > var_export( $workflow ); Flow\Model\Workflow::__set_state(array( 'id' => Flow\Model\UUID::__set_state(array( 'binaryValue' => NULL, 'hexValue' => NULL, 'alphadecimalValue' => 's52bxzn9rgi3j9e0', 'timestamp' => NULL, )), 'type' => 'topic', 'wiki' => 'mediawikiwiki', 'pageId' => 477763, 'namespace' => 4, 'titleText' => 'Support_desk', 'lastUpdated' => '20150813051425', 'title' => NULL, 'ownerTitle' => NULL, )) > var_export( $workflow->getId()->getTimestamp() ); '20141028211313'
It currently only affects the updated order:
https://www.mediawiki.org/wiki/Project:Support_desk?topiclist_sortby=newest
https://www.mediawiki.org/wiki/Project:Support_desk?topiclist_sortby=updated
Cross-checking by the timestamp (20141028211313, see above), indicates it is https://www.mediawiki.org/wiki/Thread:Project:Support_desk/provider_migrated_to_php_5.5,_wiki_doesn%27t_load , which as expected is not a redirect yet. Also, the thread ID is also not in the source store, which supports that it will re-import correctly:
mysql:research@s3-analytics-slave [mediawikiwiki]> SELECT thread_id, page_id, rev_id, page_namespace, page_title FROM revision JOIN page on rev_page = page_id JOIN thread ON thread_root = page_id WHERE rev_timestamp = '20141028211313'; +-----------+---------+---------+----------------+----------------------------------------------------------------------+ | thread_id | page_id | rev_id | page_namespace | page_title | +-----------+---------+---------+----------------+----------------------------------------------------------------------+ | 49916 | 316952 | 1243923 | 90 | Project:Support_desk/provider_migrated_to_php_5.5,_wiki_doesn't_load | +-----------+---------+---------+----------------+----------------------------------------------------------------------+ 1 row in set (0.02 sec)
matthew@matthew-l55: ~/Code/Wikimedia/vagrant-latest/mediawiki/extensions/Flow% grep 49916 Project:Support_desk.after_2015-08-12_hhvm.log matthew@matthew-l55: ~/Code/Wikimedia/vagrant-latest/mediawiki/extensions/Flow%