[BUGFIX] FormEngine: Inline new intermediate record placeholders 58/43958/8
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 10 Oct 2015 00:13:46 +0000 (02:13 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 11 Oct 2015 13:07:38 +0000 (15:07 +0200)
commitff1252a8a82c1f799cf93822ab733da7fb014ca6
treea92d183bc30035be78cf5edb02cf22fad296f402
parent84b0f64089ff16202de5df307156cbb35a3fe21f
[BUGFIX] FormEngine: Inline new intermediate record placeholders

The patch adds the inline configuration to the data compiler array
when children data is compiled instead of setting this only for
the render engine. Data provider can now use this data. The data
provider that initializes new rows is refactored and now sets
the uid of a "child-child" if an intermediate child is compiled.
This fixes a bug in the placeholder handling that now resolves
placeholder data for new inline records created by inline ajax
controller correctly.

Resolves: #70577
Releases: master
Change-Id: I7c424e159a954824a947e1df3cfbb410e15d2b78
Reviewed-on: http://review.typo3.org/43958
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php
typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php
typo3/sysext/backend/Classes/Form/FormDataCompiler.php
typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseRowInitializeNew.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php