[BUGFIX] FormEngine suggest wizard in flex form sections 39/50839/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 1 Dec 2016 19:29:25 +0000 (20:29 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 2 Dec 2016 13:42:20 +0000 (14:42 +0100)
commit5fb094bd4b37c8297afbd920b6e8b46bd42518d5
tree56375a974c016e4b6b622ea7d6368a39419245e4
parent2769e508741b8561f2236411bc81246a4d4d796d
[BUGFIX] FormEngine suggest wizard in flex form sections

The suggest wizard does not work in FormEngine flex form
section containers for existing containers.

The patch splits the ajax controller action and the FormEngine
wizard display into two classes to have a dedicated entry point
for the ajax action and refactors the flex form field configuration
search logic to find the correct configuration for existing
containers, too.

Change-Id: Ia870618629943b1f3c665cb3a10a7f3769a02540
Resolves: #78558
Releases: master
Reviewed-on: https://review.typo3.org/50839
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Valentin Funk <valentin.funk@computerfabrik.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Controller/Wizard/SuggestWizardController.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Form/Wizard/SuggestWizard.php
typo3/sysext/backend/Configuration/Backend/AjaxRoutes.php
typo3/sysext/backend/Tests/Unit/Controller/Wizard/SuggestWizardControllerTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Form/Wizard/SuggestWizardTest.php