[BUGFIX] Respect page TSConfig pid overrides for new inline children 03/47903/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 25 Apr 2016 15:37:12 +0000 (17:37 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 25 Apr 2016 17:05:27 +0000 (19:05 +0200)
commit691545ddd1806ad730ffda4c6b0ff97dcec66773
tree9c73a80efb85a84fedc6db633cd74473195a5463
parent49bf0d8892630315fb29b0d36aab3c5abf96a6a8
[BUGFIX] Respect page TSConfig pid overrides for new inline children

TCAdefaults.<table>.pid = <page id> in page TSConfig can be used for
new inline children to define a pid new records should be located at,
even if the parent record is on a different page. This can be useful
when having special storage folders on a per-table-basis.

The patch fixes this feature that broke during FormEngine refactoring.

Change-Id: I8e60155612397e72f1b11a068617f88e3793384b
Resolves: #70780
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47903
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseRowInitializeNew.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php