[BUGFIX] Respect page TSConfig pid overrides for new inline children 05/47905/2
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:18:29 +0000 (19:18 +0200)
commit02490e995e5a694a9256ffc928c186859ee74a55
tree5ef8650624499e11eaa9b87d5eb47f0652b4985d
parent8ffd696b5c027ce0b82f3b247e976395e09129fa
[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/47905
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