[BUGFIX] Inline record in Flexform can attach new record 34/47034/2
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:49 +0000 (11:15 +0100)
commit2360c7c107bbf4a08b99d11a2b569660cb992191
treee465392a4fe583dad9a7dec0547c318baa21cee2
parent1ee866c51e10fb8ac13cdb8e4576214031b1358e
[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/47034
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php