[BUGFIX] Inline record in Flexform can attach new record 37/46337/4
authorNicole Cordes <typo3@cordes.co>
Fri, 29 Jan 2016 10:36:17 +0000 (11:36 +0100)
committerNicole Cordes <typo3@cordes.co>
Fri, 4 Mar 2016 10:15:03 +0000 (11:15 +0100)
commitb63420ed306bc8b424d99601ac5a788ce3390c17
treeefe8a61f5fc615dc7440df6285f909fa6da8f93b
parent6ff94be97e3be4c5096565d1148a49b9c80a122a
[BUGFIX] Inline record in Flexform can attach new record

If you click the "create new element" button on an inline record within
a FlexForm field, the passed data information contains the id after
which the new element should be inserted. Currently this id isn't
respected while receiving the configuration from the given data. This
patch adds code to respect a possible given id and allows to fetch
configuration for that element as well.

Resolves: #73004
Releases: master, 7.6
Change-Id: I70263d3ff4a8641b1a8280574521e0671c34a333
Reviewed-on: https://review.typo3.org/46337
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php