Page MenuHomePhabricator

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

Description

I tried to undo a edit:

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

Backtrace:

#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 added a subscriber: Luke081515.
Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptNov 30 2015, 4:17 PM
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 added a subscriber: Quiddity.

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

Etonkovidova added a subscriber: Etonkovidova.EditedMay 10 2016, 11:43 PM

While re-checking, I clicked on 'Edit description' on https://test.wikipedia.org/wiki/Talk:Sandbox and received

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

stop
ve.adjacentDomPosition
ve.ce.Document.getNodeAndOffset
ve.ce.Surface.getSelectionState
ve.ce.Surface.showModelSelection
ve.ce.Surface.onModelSelect
ve.ce.Surface.focus
mw.flow.ui.VisualEditorWidget.focus

  • 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

https://test.wikipedia.org/w/index.php?title=Talk:Sandbox&action=compare-header-revisions&header_newRevision=srj7xp382sh0e7fx 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 .

Restricted Application added a project: Growth-Team. · View Herald TranscriptSep 2 2018, 10:55 PM