Didn't actually test if it fails in all cases but it certainly does for updating via drush:

exception 'Drupal\Core\Extension\InfoParserException' with message 'Unable to parse modules/metatag/metatag_open_graph/metatag_open_graph.info.yml[error]
A colon cannot be used in an unquoted mapping value at line 1 (near "name: Metatag: Open Graph").' in
/var/www/<hidden>/core/lib/Drupal/Core/Extension/InfoParserDynamic.php:30
Stack trace:
#0 /var/www/<hidden>/core/lib/Drupal/Core/Extension/InfoParser.php(27):
Drupal\Core\Extension\InfoParserDynamic->parse('modules/metatag...')
#1 /var/www/<hidden>/core/modules/system/system.module(962): Drupal\Core\Extension\InfoParser->parse('modules/metatag...')
#2 /var/www/<hidden>/core/modules/system/system.module(1039): _system_rebuild_module_data()
#3 /root/.composer/vendor/drush/drush/commands/core/drupal/environment.inc(25): system_rebuild_module_data()
#4 /root/.composer/vendor/drush/drush/includes/environment.inc(733): drush_get_modules(true)
#5 /root/.composer/vendor/drush/drush/commands/pm/updatestatus.pm.inc(19): drush_get_extensions()
#6 [internal function]: drush_pm_updatestatus()
#7 /root/.composer/vendor/drush/drush/includes/command.inc(366): call_user_func_array('drush_pm_update...', Array)
#8 /root/.composer/vendor/drush/drush/includes/command.inc(217): _drush_invoke_hooks(Array, Array)
#9 [internal function]: drush_command()
#10 /root/.composer/vendor/drush/drush/includes/command.inc(185): call_user_func_array('drush_command', Array)
#11 /root/.composer/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#12 /root/.composer/vendor/drush/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#13 /root/.composer/vendor/drush/drush/drush.php(12): drush_main()
#14 {main}

This is due to the use of a colon in the module name. With the D8 YAML formated info files any text string with a colon has to be quoted.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NickWilde created an issue. See original summary.

NickDickinsonWilde’s picture

Assigned: NickDickinsonWilde » Unassigned
Status: Active » Needs review
FileSize
408 bytes
DamienMcKenna’s picture

Status: Needs review » Closed (duplicate)