Last modified: 2014-11-20 07:52:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70955, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68955 - ResourcesTest::testMissingDependencies: Failed asserting that an array contains 'schema.UniversalLanguageSelector'.
ResourcesTest::testMissingDependencies: Failed asserting that an array contai...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
master
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 67216
  Show dependency treegraph
 
Reported: 2014-07-31 23:06 UTC by Nemo
Modified: 2014-11-20 07:52 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Currently enabled/installed stuff (9.49 KB, text/plain)
2014-07-31 23:06 UTC, Nemo
Details

Description Nemo 2014-07-31 23:06:57 UTC
Created attachment 16112 [details]
Currently enabled/installed stuff

118) ResourcesTest::testMissingDependencies
The module 'schema.UniversalLanguageSelector' required by 'ext.uls.eventlogger' must exist
Failed asserting that an array contains 'schema.UniversalLanguageSelector'.

/srv/vagrant/mediawiki/tests/phpunit/structure/ResourcesTest.php:72
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42
/srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160
Comment 1 Niklas Laxström 2014-08-01 09:03:00 UTC
Since we are adding ext.uls.eventlogger conditionally this only shows up in the tests. ContentTranslation has the same issue btw.
Comment 2 Krinkle 2014-11-20 03:23:20 UTC
Conditionally based on what? If it unconditionally registeres modules that depend on modules that only exist conditionally, that sounds like a bug that is not limited to a test suite, but a genuine bug.

Alternatively, it sounds like maybe a dependency isn't installed there (EventLogging?)
Comment 3 Niklas Laxström 2014-11-20 07:52:32 UTC
EventLogging is optional dependency. ext.uls.eventlogger is declared unconditionally but only added if event logging is enabled. schema.UniversalLanguageSelector is added conditionally if EventLogging is present, as it depends on that extension.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links