Page MenuHomePhabricator

PropertySuggester should fail gracefully when item doesn't exist
Closed, ResolvedPublicPRODUCTION ERROR

Description

Found in logstash:

/srv/mediawiki/php-1.29.0-wmf.21/extensions/Wikidata/extensions/PropertySuggester/src/PropertySuggester/SuggestionGenerator.php:64
t exception.message	   	Item Q29886367 could not be found
t exception.trace	   	#0 /srv/mediawiki/php-1.29.0-wmf.21/extensions/Wikidata/extensions/PropertySuggester/src/PropertySuggester/GetSuggestions.php(96): PropertySuggester\SuggestionGenerator->generateSuggestionsByItem(string, integer, double, string)
#1 /srv/mediawiki/php-1.29.0-wmf.21/includes/api/ApiMain.php(1578): PropertySuggester\GetSuggestions->execute()
#2 /srv/mediawiki/php-1.29.0-wmf.21/includes/api/ApiMain.php(545): ApiMain->executeAction()
#3 /srv/mediawiki/php-1.29.0-wmf.21/includes/api/ApiMain.php(516): ApiMain->executeActionWithErrorHandling()
#4 /srv/mediawiki/php-1.29.0-wmf.21/api.php(83): ApiMain->execute()
#5 /srv/mediawiki/w/api.php(3): include(string)
#6 {main}
t host	   	mw1290
t http_method	   	GET
t level	   	ERROR
t message	   	[WRNyiApAEDcAAiASYDIAAACH] /w/api.php?action=wbsgetsuggestions&search=lo&context=item&format=json&language=pt-br&continue=0&entity=Q29886367   InvalidArgumentException from line 64 of /srv/mediawiki/php-1.29.0-wmf.21/extensions/Wikidata/extensions/PropertySuggester/src/PropertySuggester/SuggestionGenerator.php: Item Q29886367 could not be found

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:10 PM