Page MenuHomePhabricator

ReflectionException: Property languageNameCache does not exist
Closed, ResolvedPublic

Description

On a MachineVision patch https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/MachineVision/+/541661/

https://integration.wikimedia.org/ci/job/quibble-composer-mysql-php72-docker/4886/console

00:32:03 ReflectionException: Property languageNameCache does not exist
00:32:03 
00:32:03 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Diff/LexemeDiffVisualizerIntegrationTest.php:462
00:32:03 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Diff/LexemeDiffVisualizerIntegrationTest.php:59
00:32:03 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:456
00:32:03 /workspace/src/maintenance/doMaintenance.php:99

Event Timeline

Reedy created this task.Oct 8 2019, 11:39 PM
Restricted Application added a project: Wikidata. · View Herald TranscriptOct 8 2019, 11:39 PM

It's slightly confusing as it does exist... After a revert reverting making LocalisationCache a service https://github.com/wikimedia/mediawiki/commit/308e6427aef169a575a339e6a8e0558d29403a1d

Reedy triaged this task as High priority.Oct 8 2019, 11:41 PM
Daimona raised the priority of this task from High to Unbreak Now!.Oct 9 2019, 10:24 AM
Daimona added a subscriber: Daimona.

It's blocking merges to various extensions. For instance, ArticlePlaceholder, PropertySuggester, and WikimediaBadges.

Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptOct 9 2019, 10:24 AM

What about just calling Language::clearCaches(), instead of making a private property accessible?

Restricted Application added a project: User-Ladsgroup. · View Herald TranscriptOct 9 2019, 5:33 PM
Maintenance_bot moved this task from In progress to Done on the User-Ladsgroup board.