Page MenuHomePhabricator

Wikibase Repo Exception: ID p9 does not refer to an entity of type item.
Closed, ResolvedPublic

Description

2013-03-07 23:50:00 mw1140 wikidatawiki: [275b21c7] /w/api.php?callback=jQuery183097312471769423_1362700106663&action=wbsearchentities&format=json&language=en&type=item&continue=0&search=P9 Exception from line 299 of /usr/local/apache/common-local/php-1.21wmf11/extensions/Wikibase/repo/includes/store/sql/TermSqlCache.php: ID p9 does not refer to an entity of type item.
#0 /usr/local/apache/common-local/php-1.21wmf11/extensions/Wikibase/repo/includes/api/SearchEntities.php(122): Wikibase\TermSqlCache->getTermsOfEntities(Array, 'item', 'en')
#1 /usr/local/apache/common-local/php-1.21wmf11/extensions/Wikibase/repo/includes/api/SearchEntities.php(174): Wikibase\Api\SearchEntities->getSearchEntries(Array)
#2 /usr/local/apache/common-local/php-1.21wmf11/includes/api/ApiMain.php(839): Wikibase\Api\SearchEntities->execute()
#3 /usr/local/apache/common-local/php-1.21wmf11/includes/api/ApiMain.php(379): ApiMain->executeAction()
#4 /usr/local/apache/common-local/php-1.21wmf11/includes/api/ApiMain.php(350): ApiMain->executeActionWithErrorHandling()
#5 /usr/local/apache/common-local/php-1.21wmf11/api.php(77): ApiMain->execute()
#6 /usr/local/apache/common-local/live-1.5/api.php(3): require('/usr/local/apac...')
#7 {main}


Version: master
Severity: minor

Details

Reference
bz45881

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:29 AM
bzimport set Reference to bz45881.
bzimport added a subscriber: Unknown Object (MLST).

It seems to me that this fix is sufficient and it is only the explicitly given entity id that is misinterpreted.

Verified in Wikidata demo sprint 35

Restricted Application added a subscriber: StudiesWorld. · View Herald Transcript