[BUGFIX] Respect TypoScript code after not matched include 63/51963/3
authorHelmut Hummel <typo3@helhum.io>
Mon, 6 Mar 2017 11:30:46 +0000 (12:30 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Mon, 6 Mar 2017 20:12:08 +0000 (21:12 +0100)
commite797b87fdf59cadd1bf6a867012df5647fba9809
tree33286b08b06fae490ad5c2702639d0e8d95b281e
parentbc643f576779ece571dadf324757f88e4954102a
[BUGFIX] Respect TypoScript code after not matched include

When parsing TypoScript with <INCLUDE which has a condition,
following TypoScript code which is not in an <INCLUDE statement
will be discarded.

Before early returning from a non matched condition, this
code needs to be added.

Resolves: #80150
Releases: master, 7.6
Change-Id: I4ea839012c57e5e7945dde3705aa96839afc58a0
Reviewed-on: https://review.typo3.org/51963
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php
typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php