Fatal error: Call to undefined method Wikibase\\TermIndexEntry::getType() in PropertySuggester/src/PropertySuggester/ResultBuilder.php on line 105
Closed, ResolvedPublic

Description

api.php?action=wbsgetsuggestions&search=&context=qualifier&format=json&language=en&continue=0&properties=P149

and some tests failing

1) PropertySuggester\GetSuggestionsTest::testExecutionWithSearch
Wikimedia\Assert\ParameterAssertionException: Bad value for parameter $fields: must contain the following keys: termType, termLanguage, termText, entityId

/var/www/wiki/w/vendor/wikimedia/assert/src/Assert.php:63
/var/www/wiki/w/extensions/Wikidata/extensions/Wikibase/lib/includes/TermIndexEntry.php:74
/var/www/wiki/w/extensions/Wikidata/extensions/PropertySuggester/src/PropertySuggester/SuggestionGenerator.php:128
/var/www/wiki/w/extensions/Wikidata/extensions/PropertySuggester/src/PropertySuggester/SuggestionGenerator.php:97
/var/www/wiki/w/extensions/Wikidata/extensions/PropertySuggester/src/PropertySuggester/GetSuggestions.php:111
/var/www/wiki/w/includes/api/ApiMain.php:1433
/var/www/wiki/w/includes/api/ApiMain.php:478
/var/www/wiki/w/tests/phpunit/includes/api/ApiTestCase.php:97
/var/www/wiki/w/extensions/Wikidata/extensions/PropertySuggester/tests/phpunit/PropertySuggester/GetSuggestionsTest.php:117
/var/www/wiki/w/tests/phpunit/MediaWikiTestCase.php:399
/var/www/wiki/w/maintenance/doMaintenance.php:111

2) PropertySuggester\SuggestionGeneratorTest::testFilterSuggestions
Wikimedia\Assert\ParameterAssertionException: Bad value for parameter $fields: must contain the following keys: termType, termLanguage, termText, entityId

/var/www/wiki/w/vendor/wikimedia/assert/src/Assert.php:63
/var/www/wiki/w/extensions/Wikidata/extensions/Wikibase/lib/includes/TermIndexEntry.php:74
/var/www/wiki/w/extensions/Wikidata/extensions/PropertySuggester/tests/phpunit/PropertySuggester/SuggestionGeneratorTest.php:99
/var/www/wiki/w/extensions/Wikidata/extensions/PropertySuggester/tests/phpunit/PropertySuggester/SuggestionGeneratorTest.php:81
/var/www/wiki/w/tests/phpunit/MediaWikiTestCase.php:399
/var/www/wiki/w/maintenance/doMaintenance.php:111
aude created this task.Dec 1 2016, 3:52 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 1 2016, 3:52 AM
aude renamed this task from Fatal error: Call to undefined method Wikibase\\TermIndexEntry::getType() in /var/www/wiki/w/extensions/Wikidata/extensions/PropertySuggester/src/PropertySuggester/ResultBuilder.php on line 105 to Fatal error: Call to undefined method Wikibase\\TermIndexEntry::getType() in PropertySuggester/src/PropertySuggester/ResultBuilder.php on line 105.Dec 1 2016, 3:52 AM
aude claimed this task.Dec 1 2016, 4:32 AM
aude added a project: Wikidata-Sprint.
aude moved this task from Proposed to Review on the Wikidata-Sprint board.

This is now fixed, no?

thiemowmde closed this task as Resolved.Dec 6 2016, 1:23 PM
thiemowmde moved this task from Review to Done on the Wikidata-Sprint board.
thiemowmde triaged this task as Unbreak Now! priority.
Restricted Application added subscribers: Jay8g, TerraCodes. · View Herald TranscriptDec 6 2016, 1:23 PM