Page MenuHomePhabricator

InvalidArgumentException when undoing edits in structured data on commons
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.35.0-wmf.4

message
Unsaved revision passed

Impact

Structured revision data cannot be undone.

Notes

https://commons.wikimedia.org/w/index.php?title=File:Wikipedia-logo-v2-zh.svg&action=mcrundo&undo=373013629&undoafter=373013107&uselang=en
[Xb4drApAAD4AAAFYWDYAAAAA] 2019-11-03 00:22:04: Fatal exception of type "InvalidArgumentException"

Details

Request ID
Xb4drApAAD4AAAFYWDYAAAAA
Request URL
/w/index.php?title=File:Wikipedia-logo-v2-zh.svg&action=mcrundo&undo=373013629&undoafter=373013107&uselang=en
Stack Trace
exception.trace
#0 /includes/diff/DifferenceEngine.php(1470): MediaWiki\Revision\RevisionStore->countRevisionsBetween(MediaWiki\Revision\MutableRevisionRecord, MediaWiki\Revision\RevisionStoreCacheRecord, integer)
#1 /includes/diff/DifferenceEngine.php(998): DifferenceEngine->getMultiNotice()
#2 /includes/actions/McrUndoAction.php(242): DifferenceEngine->getDiff(string, string)
#3 /includes/actions/McrUndoAction.php(374): McrUndoAction->generateDiffOrPreview()
#4 /includes/htmlform/fields/HTMLInfoField.php(25): McrUndoAction->{closure}(array)
#5 /includes/htmlform/HTMLForm.php(1699): HTMLInfoField->getDefault()
#6 /includes/htmlform/HTMLForm.php(1299): HTMLForm->displaySection(array, string)
#7 /includes/htmlform/OOUIHTMLForm.php(254): HTMLForm->getBody()
#8 /includes/htmlform/HTMLForm.php(1076): OOUIHTMLForm->getBody()
#9 /includes/htmlform/HTMLForm.php(1055): HTMLForm->getHTML(boolean)
#10 /includes/htmlform/HTMLForm.php(606): HTMLForm->displayForm(boolean)
#11 /includes/actions/FormAction.php(143): HTMLForm->show()
#12 /includes/actions/McrUndoAction.php(90): FormAction->show()
#13 /includes/MediaWiki.php(514): McrUndoAction->show()
#14 /includes/MediaWiki.php(304): MediaWiki->performAction(ImagePage, Title)
#15 /includes/MediaWiki.php(967): MediaWiki->performRequest()
#16 /includes/MediaWiki.php(530): MediaWiki->main()
#17 /index.php(44): MediaWiki->run()
#18 /srv/mediawiki/w/index.php(3): require(string)
#19 {main}

Event Timeline

@A2093064 Edits related to Structured Data can not be undone if I am not mistaken.

Urbanecm changed the subtype of this task from "Task" to "Production Error".Nov 3 2019, 7:14 AM
Urbanecm updated the task description. (Show Details)
Urbanecm edited Stack Trace. (Show Details)
Urbanecm set Phatality ID to f1487b2b22e9efe80b5c712b48621081ac08becb75f57c88c8a1121ad3dbf08a.
Urbanecm set Request URL to /w/index.php?title=File:Wikipedia-logo-v2-zh.svg&action=mcrundo&undo=373013629&undoafter=373013107&uselang=en.Nov 3 2019, 7:17 AM
Urbanecm set Request ID to Xb4drApAAD4AAAFYWDYAAAAA.