Page MenuHomePhabricator

InvalidArgumentException: Unable to view diff of deleted page
Closed, DuplicatePublicPRODUCTION ERROR

Description

Steps to reproduce:
On Special:Undelete, click any "diff" link

Expected result:
View the (deleted) diff

Actual result: InvalidArgumentException

On mediawikiwiki: [XczJ4ApAIEIAABG8tuYAAAAC] 2019-11-14 03:28:32: Fatal exception of type "InvalidArgumentException"

Note: reproduced on enwiki beta cluster, stack trace included below

Beta cluster stack trace
[XczJmKwQBHcAACLx-@4AAAAQ] /w/index.php?title=Special:Undelete&target=User%3ADannyS712%2FScript&timestamp=20191114031643&diff=prev InvalidArgumentException from line 3275 of /srv/mediawiki/php-master/includes/Revision/RevisionStore.php: Revision 403457 doesn't belong to page 200059

Backtrace:

#0 /srv/mediawiki/php-master/includes/Revision/RevisionStore.php(3482): MediaWiki\Revision\RevisionStore->assertRevisionParameter(string, integer, MediaWiki\Revision\RevisionArchiveRecord)
#1 /srv/mediawiki/php-master/includes/diff/DifferenceEngine.php(1553): MediaWiki\Revision\RevisionStore->countRevisionsBetween(integer, MediaWiki\Revision\RevisionArchiveRecord, MediaWiki\Revision\RevisionArchiveRecord, integer)
#2 /srv/mediawiki/php-master/includes/diff/DifferenceEngine.php(1052): DifferenceEngine->getMultiNotice()
#3 /srv/mediawiki/php-master/includes/specials/SpecialUndelete.php(611): DifferenceEngine->getDiff(string, string)
#4 /srv/mediawiki/php-master/includes/specials/SpecialUndelete.php(457): SpecialUndelete->showDiff(Revision, Revision)
#5 /srv/mediawiki/php-master/includes/specials/SpecialUndelete.php(232): SpecialUndelete->showRevision(string)
#6 /srv/mediawiki/php-master/includes/specialpage/SpecialPage.php(575): SpecialUndelete->execute(NULL)
#7 /srv/mediawiki/php-master/includes/specialpage/SpecialPageFactory.php(607): SpecialPage->run(NULL)
#8 /srv/mediawiki/php-master/includes/MediaWiki.php(298): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#9 /srv/mediawiki/php-master/includes/MediaWiki.php(967): MediaWiki->performRequest()
#10 /srv/mediawiki/php-master/includes/MediaWiki.php(530): MediaWiki->main()
#11 /srv/mediawiki/php-master/index.php(46): MediaWiki->run()
#12 /srv/mediawiki/w/index.php(3): require(string)
#13 {main}

Details

Request ID
XczJ4ApAIEIAABG8tuYAAAAC
Stack Trace

XczJ4ApAIEIAABG8tuYAAAAC

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyS712 triaged this task as Unbreak Now! priority.Nov 14 2019, 3:30 AM
DannyS712 changed the subtype of this task from "Task" to "Production Error".
DannyS712 set Request ID to XczJ4ApAIEIAABG8tuYAAAAC.
DannyS712 updated the task description. (Show Details)
DannyS712 edited Stack Trace. (Show Details)
DannyS712 moved this task from Unsorted to Reports on the User-DannyS712 board.