Closed chesio closed 11 months ago
...in EXT:extractor/Classes/Em/ConfigurationHelper.php (4 occurences).
EXT:extractor/Classes/Em/ConfigurationHelper.php
Happens on TYPO3 12 only, probably due to changes in TypoScript parsing.
The propertyName array key is not set anymore when userFunc is called - see: https://github.com/TYPO3/typo3/blob/a93c810ee65a1dadc95aa1326fe643d14859662a/typo3/sysext/core/Classes/TypoScript/AST/Visitor/AstConstantCommentVisitor.php#L364-L374
propertyName
userFunc
An easy fix should be to use fieldName instead as it should have the same value as propertyName (on TYPO3 11 at least) - see: https://github.com/TYPO3/typo3/blob/a475d44f82301811bfab66a90df9cab65ebc1a13/typo3/sysext/core/Classes/ViewHelpers/Form/TypoScriptConstantsViewHelper.php#L292-L312
fieldName
PR incoming.
...in
EXT:extractor/Classes/Em/ConfigurationHelper.php
(4 occurences).Happens on TYPO3 12 only, probably due to changes in TypoScript parsing.
The
propertyName
array key is not set anymore whenuserFunc
is called - see: https://github.com/TYPO3/typo3/blob/a93c810ee65a1dadc95aa1326fe643d14859662a/typo3/sysext/core/Classes/TypoScript/AST/Visitor/AstConstantCommentVisitor.php#L364-L374An easy fix should be to use
fieldName
instead as it should have the same value aspropertyName
(on TYPO3 11 at least) - see: https://github.com/TYPO3/typo3/blob/a475d44f82301811bfab66a90df9cab65ebc1a13/typo3/sysext/core/Classes/ViewHelpers/Form/TypoScriptConstantsViewHelper.php#L292-L312PR incoming.