[BUGFIX] TSConfig for fields with a dot in the name does not work 11/7711/19
authorKai Vogel <kai.vogel@speedprogs.de>
Mon, 9 Jan 2012 20:29:48 +0000 (21:29 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 25 Mar 2013 18:27:29 +0000 (19:27 +0100)
commitc9dbea155f3793f7f39d41b5f2bcd92f04443075
treeb3d7c2724f8d8319d50c243ab0e2f2e73494403c
parent4d47e88e5b4faaecc9dcb5d12f22e1cfc57f2e32
[BUGFIX] TSConfig for fields with a dot in the name does not work

This patch enables the use of double quotes in TypoScript setup paths.
Thus, for example, can Extbase field names be separated using quotes in
TSConfig.

Example:

TCEFORM.tt_content.pi_flexform.myext_myplugin.sDEF {
  "settings.fieldOne".config.type = text
  "settings.fieldTwo" = foo
}

Fixes: #29461
Releases: 6.1
Change-Id: Idf30faff9c45c662b2c2f976aeda5cc407e9610a
Reviewed-on: https://review.typo3.org/7711
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Eric Chavaillaz
Tested-by: Eric Chavaillaz
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php
typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php [new file with mode: 0644]