Actions
Bug #75494
closedSuggest wizard not working in flexform array element when not the last field
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-04-11
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
See attached file for example configuration. The responsible code can be found in TYPO3\CMS\Backend\Form\Element\SuggestElement::getNestedDsFieldConfig().
The current situation is as follows:- The foreach loop reaches the settings.subelements field.
- The method is called recursively for the subelements item configuration.
- It returns the field configuration for the nested content field, which is required for the suggest.
- The foreach loop continues with the settings.check field, overwriting the field configuration with an empty array.
To fix this a break should be added at step 3 if configuration is returned (not empty array).
Files
Actions