Page MenuHomePhabricator

YAML parser not included in REL1_38
Closed, ResolvedPublicBUG REPORT

Description

Fresh checkout of REL1_38 without having run composer update, but using the REL1_38 branch of vendor gives the following when running php maintenance/update.php --quick:

$ php maintenance/update.php --quick
PHP Fatal error:  Uncaught Error: Class "Symfony\Component\Yaml\Yaml" not found in .../includes/Settings/Source/Format/YamlFormat.php:103
Stack trace:
#0 .../includes/Settings/Source/Format/YamlFormat.php(63): MediaWiki\Settings\Source\Format\YamlFormat->parseWithSymfony()
#1 .../includes/Settings/Source/Format/YamlFormat.php(30): MediaWiki\Settings\Source\Format\YamlFormat->parseWith()
#2 .../includes/Settings/Source/FileSource.php(213): MediaWiki\Settings\Source\Format\YamlFormat->decode()
#3 .../includes/Settings/Source/FileSource.php(121): MediaWiki\Settings\Source\FileSource->readAndDecode()
#4 .../includes/Settings/SettingsBuilder.php(265): MediaWiki\Settings\Source\FileSource->load()
#5 .../includes/Settings/SettingsBuilder.php(231): MediaWiki\Settings\SettingsBuilder->loadRecursive()
#6 .../includes/Setup.php(212): MediaWiki\Settings\SettingsBuilder->apply()
#7 .../maintenance/doMaintenance.php(96): require_once('...')
#8 .../maintenance/update.php(264): require_once('...')
#9 {main}
  thrown in .../includes/Settings/Source/Format/YamlFormat.php on line 103

Related Objects

Event Timeline

Assuming this is about MediaWiki Core (please add codebase project tags if possible - thanks!).

Legoktm added a subscriber: Legoktm.

It needs to be added to mediawiki/vendor's REL1_38 branch.

Change 788578 had a related patch set uploaded (by Legoktm; author: Legoktm):

[mediawiki/vendor@REL1_38] Add symfony/yaml 5.4.3

https://gerrit.wikimedia.org/r/788578

Change 788578 merged by Reedy:

[mediawiki/vendor@REL1_38] Add symfony/yaml 5.4.3

https://gerrit.wikimedia.org/r/788578

Reedy assigned this task to Legoktm.