Bug #100049
openForms: TypoScript overrides destroys Flexform finisher overrides
0%
Description
In the case that you have a combination of TypoScript and Flexform overrides then only the TypoScript overrides will be applied. The reason is that after the call of resolvePossibleTypoScriptConfiguration in FormFrontendController line 163 is resetting the contentObject property of ConfigurationManager. The contentObject property is needed for the Flexform overrides because it holds the pi_flexform (configurationManager->getContentObject()->data['pi_flexform']) field value of the database record. After resetting the contentObject property the data array is empty. I currently don't know the reason and exact position where the contentObject is resetted, but I know that after this call described above it is empty.
I have fixed it in my case by defining a XClass which overrides the function overrideByTypoScriptSettings. In that the clone of the contentObject is saved before the call of resolvePossibleTypoScriptConfiguration() and if the reset did happen, then it will set the clone as new contentObject. I know it is really satanic, but it works in my case xD
No data to display