[BUGFIX] Throw proper exception when parsing Yaml files 97/53197/3
authorBenni Mack <benni@typo3.org>
Tue, 13 Jun 2017 05:50:12 +0000 (07:50 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 13 Jun 2017 13:53:52 +0000 (15:53 +0200)
commitd6cf5bd3068d304ff3a1aab5b933733ac18fa7a5
tree3a183074e825bf0e022d864437e112fbebac1bd1
parent3848b73807c8d8e38d7a7975ef5352737c0b5f4c
[BUGFIX] Throw proper exception when parsing Yaml files

When having an empty Yaml file, the error that is thrown isn't
helpful for the developer, and in case of RTE, the RTE is not shown
at all.

Resolves: #81557
Releases: master, 8.7
Change-Id: Ie435b9f42623962637a9ead0243be6cde15c82c6
Reviewed-on: https://review.typo3.org/53197
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php