Page MenuHomePhabricator

[Regression-betalabs] Error on View history of User talk page after second opt-in
Closed, DuplicatePublic

Description

Found when testing T112784

  1. On User talk page enter some text. Click on 'View history' - the page is displayed correctly.
  2. Enable opt-in - View history is fine.
  3. Disable opt-in(View history is fine) and then re-enable it. View history shows the following.

Error
An error has occurred while processing the data in your request.

Return to Main Page

[dbe3216f] /w/index.php?title=User_talk:ET24&action=history Flow\Exception\DataModelException from line 133 of /srv/mediawiki/php-master/extensions/Flow/includes/Model/PostRevision.php: tree revision doesn't match provided revision: treeRevId (NULL) != obj->revId (sp5wpiulpsin0l0r)

Backtrace:

#0 [internal function]: Flow\Model\PostRevision::fromStorageRow(array, Flow\Model\PostRevision)
#1 /srv/mediawiki/php-master/extensions/Flow/includes/Data/Mapper/CachingObjectMapper.php(89): call_user_func(array, array, NULL)
#2 /srv/mediawiki/php-master/extensions/Flow/container.php(306): Flow\Data\Mapper\CachingObjectMapper->fromStorageRow(array, NULL)
#3 [internal function]: Closure$#34(array, NULL)
#4 /srv/mediawiki/php-master/extensions/Flow/includes/Data/Mapper/BasicObjectMapper.php(38): call_user_func(Closure$#34;1973114950, array, NULL)
#5 /srv/mediawiki/php-master/extensions/Flow/includes/Data/ObjectLocator.php(298): Flow\Data\Mapper\BasicObjectMapper->fromStorageRow(array)
#6 /srv/mediawiki/php-master/extensions/Flow/includes/Data/ObjectLocator.php(105): Flow\Data\ObjectLocator->load(array)
#7 /srv/mediawiki/php-master/extensions/Flow/includes/Data/ObjectLocator.php(55): Flow\Data\ObjectLocator->findMulti(array, array)
#8 [internal function]: Flow\Data\ObjectLocator->find(array, array)
#9 /srv/mediawiki/php-master/extensions/Flow/includes/Data/ManagerGroup.php(129): call_user_func_array(array, array)
#10 /srv/mediawiki/php-master/extensions/Flow/includes/Data/ManagerGroup.php(141): Flow\Data\ManagerGroup->call(string, array)
#11 /srv/mediawiki/php-master/extensions/Flow/includes/Formatter/BoardHistoryQuery.php(31): Flow\Data\ManagerGroup->find(string, array, array)
#12 /srv/mediawiki/php-master/extensions/Flow/includes/Data/Pager/HistoryPager.php(65): Flow\Formatter\BoardHistoryQuery->getResults(Flow\Model\UUID, integer, NULL, string)
#13 /srv/mediawiki/php-master/extensions/Flow/includes/Block/BoardHistory.php(80): Flow\Data\Pager\HistoryPager->doQuery()
#14 /srv/mediawiki/php-master/extensions/Flow/includes/View.php(177): Flow\Block\BoardHistoryBlock->renderApi(array)
#15 /srv/mediawiki/php-master/extensions/Flow/includes/View.php(69): Flow\View->buildApiResponse(Flow\WorkflowLoader, array, string, array)
#16 /srv/mediawiki/php-master/extensions/Flow/includes/Actions/Action.php(100): Flow\View->show(Flow\WorkflowLoader, string)
#17 /srv/mediawiki/php-master/extensions/Flow/includes/Actions/Action.php(46): Flow\Actions\FlowAction->showForAction(string)
#18 /srv/mediawiki/php-master/includes/MediaWiki.php(458): Flow\Actions\FlowAction->show()
#19 /srv/mediawiki/php-master/includes/MediaWiki.php(255): MediaWiki->performAction(Article, Title)
#20 /srv/mediawiki/php-master/includes/MediaWiki.php(682): MediaWiki->performRequest()
#21 /srv/mediawiki/php-master/includes/MediaWiki.php(476): MediaWiki->main()
#22 /srv/mediawiki/php-master/index.php(41): MediaWiki->run()
#23 /srv/mediawiki/w/index.php(3): include(string)
#24 {main}