Page MenuHomePhabricator

Wikidata-lexeme gives internal error for some lexemes when switching to non-English language
Closed, ResolvedPublic

Description

Wikidata-lexeme gives internal error for some lexemes when switching to non-English language.

I have set the language to Danish in the configuration and then go to http://wikidata-lexeme.wmflabs.org/index.php/Lexeme:L15

The error message I get is:

[1d51848371fe6abb733a6ff8] /index.php/Lexeme:L15 OutOfBoundsException from line 83 of /var/www/html/extensions/WikibaseLexeme/vendor/wikibase/data-model/src/Term/TermList.php: Term with languageCode "da" not found

Backtrace:

#0 /var/www/html/extensions/WikibaseLexeme/src/PropertyType/LexemeIdHtmlFormatter.php(137): Wikibase\DataModel\Term\TermList->getByLanguage(string)
#1 /var/www/html/extensions/WikibaseLexeme/src/PropertyType/LexemeIdHtmlFormatter.php(80): Wikibase\Lexeme\PropertyType\LexemeIdHtmlFormatter->buildLabel(Wikibase\Lexeme\DataModel\Lexeme)
...

(Are we suppose to report such errors? Or is this development system suppose to generate a lot of errors?)

Event Timeline

Fnielsen created this task.Aug 16 2017, 4:29 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 16 2017, 4:29 PM
Lydia_Pintscher closed this task as Resolved.Mar 7 2018, 6:34 PM
Lydia_Pintscher claimed this task.