[BUGFIX] isOnSymetricSide must be set by dataprovider 35/44435/6
authorSebastian Fischer <typo3@evoweb.de>
Sat, 31 Oct 2015 09:52:44 +0000 (10:52 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 31 Oct 2015 17:02:02 +0000 (18:02 +0100)
commit562fc1a513d835437390c006f85df20e177df43e
tree50e760cfddb0b8c1479388144cb53fc609f01e69
parente323cd5db3351d8c75e041d9e8e90f64ab2790d7
[BUGFIX] isOnSymetricSide must be set by dataprovider

Add a data provider to set isOnSymetricSide on data aggregation
and change all calculations to use the new flag in result array.

Add parent and topmost parent uid, field and table to result
to replace as many InlineStackProcessor calls as possible.

Resolves: #71193
Releases: master
Change-Id: I8d4ec0b2c855cc42b0d03cb34f0b87f5a08a256a
Reviewed-on: https://review.typo3.org/44435
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php
typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php
typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php
typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php
typo3/sysext/backend/Classes/Form/Element/SelectSingleElement.php
typo3/sysext/backend/Classes/Form/FormDataCompiler.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInlineIsOnSymmetricSide.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineIsOnSymmetricSideTest.php [new file with mode: 0644]
typo3/sysext/core/Configuration/DefaultConfiguration.php