Issue Bug Closed

#89342InvalidArgumentException while parsing Services.yaml

Sebastian Fischer 10/03/19, 22:37 updated 01/09/20, 15:33

Description

After installing current master i get the following exception

(1/2) Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
The file "/home/www/dev10/www/public/typo3/sysext/core/Configuration//Services.yaml" does not contain valid YAML: Unexpected characters near " # Core caches, cache.core and cache.assets are injected as early # entries in TYPO3\CMS\Core\Core\Bootstrap and therefore omitted here" at line 40 (near "# entries in TYPO3\CMS\Core\Core\Bootstrap and therefore omitted here").

This is caused if both lines are present

  1. Core caches, cache.core and cache.assets are injected as early
  2. entries in TYPO3\CMS\Core\Core\Bootstrap and therefore omitted here

If I delete either one of them the parsing processes as expected. So i assume that the yaml parser does not like two comment lines after another.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.