Project

General

Profile

Actions

Bug #89342

closed

InvalidArgumentException while parsing Services.yaml

Added by Sebastian Fischer over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Start date:
2019-10-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Files

composer.json (1.02 KB) composer.json Sebastian Fischer, 2019-10-08 09:47
stacktrace.txt (24.6 KB) stacktrace.txt Sebastian Fischer, 2019-10-08 09:48
composer.json (248 Bytes) composer.json Richard Haeser, 2019-11-21 19:29
composer.lock (139 KB) composer.lock Richard Haeser, 2019-11-21 19:29
config.yaml (5.66 KB) config.yaml Richard Haeser, 2019-11-21 19:31
Actions

Also available in: Atom PDF