[BUGFIX] Install Tool configuration parser must handle nested config
Since TYPO3_CONF_VARS may contain nested arrays and the array keys for those subarrays may collide with first-level citizens (e.g. BE) the current description parsing (parsing of PHP source code file) fail hard for those cases. The problem is not solvable without writing a dedicated full PHP parser in order to have proper notion of nesting levels. For this reason the regex-based parsing is completely removed and a new and dedicated file for the option descriptions is introduced, which stores the description into a PHP array. This frees us from the buggy PHP code parsing with regex and enables us in the future to enhance this array with more information. (e.g. extract data type into a dedicated subarray element) Resolves: #79920 Releases: master Change-Id: Idb5d3fdd2dee5f3150b52c66e65d06c028750893 Reviewed-on: https://review.typo3.org/51772 Reviewed-by:Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co> Tested-by...
Showing
- typo3/sysext/core/Classes/Configuration/ConfigurationManager.php 17 additions, 0 deletions...ysext/core/Classes/Configuration/ConfigurationManager.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 179 additions, 179 deletionstypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Configuration/DefaultConfigurationDescription.php 190 additions, 0 deletions...xt/core/Configuration/DefaultConfigurationDescription.php
- typo3/sysext/install/Classes/Controller/Action/Tool/AllConfiguration.php 2 additions, 28 deletions...stall/Classes/Controller/Action/Tool/AllConfiguration.php
Please register or sign in to comment