[BUGFIX] Fresh tag in TypoScriptConstantsViewHelper per call 73/55273/5
authorsteffenk <info@sk-typo3.de>
Fri, 5 Jan 2018 09:32:37 +0000 (10:32 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 22 Jan 2018 21:41:18 +0000 (22:41 +0100)
commit90b9959d489b064ca16844b1572a755da8018a9a
tree44aaef8cda9a39e62ffb2d0e5b3d469ada18007d
parentc1798ab34fdccd9d222e8b29e8910b867b24a819
[BUGFIX] Fresh tag in TypoScriptConstantsViewHelper per call

With current fluid, the TypoScriptConstantsViewHelper is
instantiated only once and re-used if called multiple times.
$this->tag is then polluted from previous runs and creates
funny results.
Fix by re-initializing that property each call.

Resolves: #83319
Releases: master
Change-Id: Idf9e14ca69e76278bd0d6eaca1fec9b93c238fd5
Reviewed-on: https://review.typo3.org/55273
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Reviewed-by: Jan Stockfisch <jan.stockfisch@googlemail.com>
Reviewed-by: Reiner Teubner <reiner.teubner@me.com>
Tested-by: Reiner Teubner <reiner.teubner@me.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/install/Classes/ViewHelpers/Form/TypoScriptConstantsViewHelper.php