Page MenuHomePhabricator

Wikibase\Lib\Store\DivergingEntityIdException: "Revision 386521405 belongs to M43864745 instead of expected M79277318"
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error message
[Xj84AwpAAEIAAFmPFpkAAACT] 2020-02-08 22:36:51: Fatal exception of type "Wikibase\Lib\Store\DivergingEntityIdException"

when trying to edit c:File:L'Intérieur du Musée des beaux-arts de Nancy.jpg

Impact

Makes it impossible to edit the file description page using the wikitext editor. (VisualEditor seems to work, although I haven’t tried to actually save an edit.)

Notes

Details

Request ID
Xj84AwpAAEIAAFmPFpkAAACT
Request URL
https://commons.wikimedia.org/w/index.php?title=File:L%27Int%C3%A9rieur_du_Mus%C3%A9e_des_beaux-arts_de_Nancy.jpg&action=edit
Stack Trace
#0 /srv/mediawiki/php-1.35.0-wmf.16/extensions/WikibaseMediaInfo/src/Services/MediaInfoPrefetchingTermLookup.php(59): Wikibase\Lib\Store\Sql\WikiPageEntityRevisionLookup->getEntityRevision(Wikibase\MediaInfo\DataModel\MediaInfoId)
#1 /srv/mediawiki/php-1.35.0-wmf.16/extensions/WikibaseMediaInfo/src/Services/MediaInfoPrefetchingTermLookup.php(108): Wikibase\MediaInfo\Services\MediaInfoPrefetchingTermLookup->prefetchTerm(Wikibase\MediaInfo\DataModel\MediaInfoId, array, array)
#2 /srv/mediawiki/php-1.35.0-wmf.16/extensions/Wikibase/data-access/src/ByTypeDispatchingPrefetchingTermLookup.php(52): Wikibase\MediaInfo\Services\MediaInfoPrefetchingTermLookup->prefetchTerms(array, array, array)
#3 /srv/mediawiki/php-1.35.0-wmf.16/extensions/Wikibase/data-access/src/ByTypeDispatchingPrefetchingTermLookup.php(52): Wikibase\DataAccess\ByTypeDispatchingPrefetchingTermLookup->prefetchTerms(array, array, array)
#4 /srv/mediawiki/php-1.35.0-wmf.16/extensions/Wikibase/lib/includes/Store/LanguageFallbackLabelDescriptionLookupFactory.php(98): Wikibase\DataAccess\ByTypeDispatchingPrefetchingTermLookup->prefetchTerms(array, array, array)
#5 /srv/mediawiki/php-1.35.0-wmf.16/extensions/Wikibase/client/includes/Hooks/EditActionHookHandler.php(154): Wikibase\Lib\Store\LanguageFallbackLabelDescriptionLookupFactory->newLabelDescriptionLookup(LanguageEn, array)
#6 /srv/mediawiki/php-1.35.0-wmf.16/extensions/Wikibase/client/includes/Hooks/EditActionHookHandler.php(91): Wikibase\Client\Hooks\EditActionHookHandler->formatEntityUsage(array)
#7 /srv/mediawiki/php-1.35.0-wmf.16/extensions/Wikibase/client/ClientHooks.php(246): Wikibase\Client\Hooks\EditActionHookHandler->handle(EditPage)
#8 /srv/mediawiki/php-1.35.0-wmf.16/includes/Hooks.php(174): Wikibase\ClientHooks::onEditAction(EditPage, OutputPage, integer)
#9 /srv/mediawiki/php-1.35.0-wmf.16/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
#10 /srv/mediawiki/php-1.35.0-wmf.16/includes/EditPage.php(3794): Hooks::run(string, array)
#11 /srv/mediawiki/php-1.35.0-wmf.16/includes/EditPage.php(3022): EditPage->showStandardInputs()
#12 /srv/mediawiki/php-1.35.0-wmf.16/includes/EditPage.php(702): EditPage->showEditForm()
#13 /srv/mediawiki/php-1.35.0-wmf.16/includes/actions/EditAction.php(60): EditPage->edit()
#14 /srv/mediawiki/php-1.35.0-wmf.16/includes/MediaWiki.php(514): EditAction->show()
#15 /srv/mediawiki/php-1.35.0-wmf.16/includes/MediaWiki.php(304): MediaWiki->performAction(ImagePage, Title)
#16 /srv/mediawiki/php-1.35.0-wmf.16/includes/MediaWiki.php(967): MediaWiki->performRequest()
#17 /srv/mediawiki/php-1.35.0-wmf.16/includes/MediaWiki.php(530): MediaWiki->main()
#18 /srv/mediawiki/php-1.35.0-wmf.16/index.php(46): MediaWiki->run()
#19 /srv/mediawiki/w/index.php(3): require(string)
#20 {main}

Event Timeline

Aklapper renamed this task from Wikibase\Lib\Store\DivergingEntityIdException when trying to edit c:File:L'Intérieur du Musée des beaux-arts de Nancy.jpg to Wikibase\Lib\Store\DivergingEntityIdException: "Revision 386521405 belongs to M43864745 instead of expected M79277318".Feb 9 2020, 4:01 AM
Aklapper added a project: WikibaseMediaInfo.
Aklapper updated the task description. (Show Details)
Aklapper edited Stack Trace. (Show Details)
Aklapper set Phatality ID to 27a15bf2455341eee0f001f81556a473490ac2eec7fc1d5ea4c10e09e4ad4ddb.

We are still getting this error. Any ideas how to fix it?

This may be relevant: when I try to edit the file using VE, without any changes (in fact, after at least inserting and deleting a space, so that the save button becomes active), I see the following diff:

@@ -1,1 +1,1 @@ caption / fr
-"Andromède" par Domenico Guidi (1699)

i.e., it would delete the French caption.

FWIW 340 DivergingEntityIdExceptions in logstash in the last 7 days