Page MenuHomePhabricator

View and undo of board description diffs at testwiki:talk:sandbox throws InvalidDataException
Closed, DuplicatePublic


I tried to undo a edit:

Ex1.PNG (399×1 px, 73 KB)

But then, mediawiki throws an error:

An error has occurred.

Return to Main Page.

[95093b89] /w/index.php?title=Talk:Sandbox&action=compare-header-revisions&header_newRevision=sbuaodlme42f2ii5 Flow\Exception\InvalidDataException from line 366 of /srv/mediawiki/php-1.27.0-wmf.7/extensions/Flow/includes/Model/AbstractRevision.php: Failed to load the content


#0 /srv/mediawiki/php-1.27.0-wmf.7/extensions/Flow/includes/Formatter/RevisionDiffViewFormatter.php(36): Flow\Model\AbstractRevision->getContent(string)
#1 /srv/mediawiki/php-1.27.0-wmf.7/extensions/Flow/includes/Block/Header.php(244): Flow\Formatter\RevisionDiffViewFormatter->formatApi(Flow\Formatter\FormatterRow, Flow\Formatter\FormatterRow, Flow\View)
#2 /srv/mediawiki/php-1.27.0-wmf.7/extensions/Flow/includes/Block/Header.php(219): Flow\Block\HeaderBlock->renderDiffviewApi(array)
#3 /srv/mediawiki/php-1.27.0-wmf.7/extensions/Flow/includes/View.php(195): Flow\Block\HeaderBlock->renderApi(array)
#4 /srv/mediawiki/php-1.27.0-wmf.7/extensions/Flow/includes/View.php(69): Flow\View->buildApiResponse(Flow\WorkflowLoader, array, string, array)
#5 /srv/mediawiki/php-1.27.0-wmf.7/extensions/Flow/includes/Actions/Action.php(100): Flow\View->show(Flow\WorkflowLoader, string)
#6 /srv/mediawiki/php-1.27.0-wmf.7/extensions/Flow/includes/Actions/Action.php(46): Flow\Actions\FlowAction->showForAction(string)
#7 /srv/mediawiki/php-1.27.0-wmf.7/includes/MediaWiki.php(489): Flow\Actions\FlowAction->show()
#8 /srv/mediawiki/php-1.27.0-wmf.7/includes/MediaWiki.php(286): MediaWiki->performAction(Article, Title)
#9 /srv/mediawiki/php-1.27.0-wmf.7/includes/MediaWiki.php(704): MediaWiki->performRequest()
#10 /srv/mediawiki/php-1.27.0-wmf.7/includes/MediaWiki.php(506): MediaWiki->main()
#11 /srv/mediawiki/php-1.27.0-wmf.7/index.php(43): MediaWiki->run()
#12 /srv/mediawiki/w/index.php(3): include(string)
#13 {main}

Reproduce (any prior board description diff, at [[testwiki:talk:sandbox]], e.g.):

No other pages a testwiki seem affected

Event Timeline

Luke081515 raised the priority of this task from to High.
Luke081515 updated the task description. (Show Details)
Luke081515 subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Quiddity renamed this task from Undo of a flow topic edit throws exception to View and undo of board description diffs at testwiki:talk:sandbox throws InvalidDataException.Nov 30 2015, 5:15 PM
Quiddity updated the task description. (Show Details)
Quiddity set Security to None.
Quiddity subscribed.

This might be remaining data loss from the External Store incident. I think not all content from testwiki was recovered.

While re-checking, I clicked on 'Edit description' on and received

  • Uncaught TypeError: Cannot read property 'model' of undefined


  • not able to switch to wikitext source editor

The following error message appears when the wikitext icon is clicked:
Unable to transfer content: Error contacting the server for conversion between wikitext and HTML. Please check your Internet connection or try again later if the problem persists. If you still get this error please file a bug

  • also, if from View history 'prev' is clicked in
(cur prev) 00:03, 27 October 2015 . . Mattflaschen-WMF (talk | contribs) edited the description . . (+82)‎ undo will display 'An error has occurred while processing HTML/wikitext conversion.'

Correction to the previous comment:
Uncaught TypeError: Cannot read property 'model' of undefined is displayed when {{flow-enabled}} is present in board description and 'Edit description' is clicked .