[BUGFIX] Do not overwrite inlineData in mergeResult 50/52050/2
authorHelmut Hummel <typo3@helhum.io>
Wed, 8 Mar 2017 20:54:49 +0000 (21:54 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 15 Mar 2017 10:19:43 +0000 (11:19 +0100)
commitf95187848ed375ffdb32ce4fe1e1a1f5a77c63ed
treed86c5e73921940e0e518e2b5cea30b5b223aa5b5
parent224bb0d5a0d4207f8e42f2f97a607ddb53ac0c0b
[BUGFIX] Do not overwrite inlineData in mergeResult

Instead of merging different inlineData results, the
FormResultCompiler has one seemingly leftover line of code
which overwrites the inlineData, leading to the situation
that only the last inlineData is kept.

In the list module when editing multiple fields with IRRE relations,
this leads to the fact that children can only be added
to the last element.

For some reason the same code does not expose the bug to the end user,
most likely due to different handling of the context data.

Nevertheless this obviously wrong line should also be removed in 7.6.

Releases: master, 7.6
Resolves: #80181
Change-Id: I56cef1c56a36d1760a99c239130c6791869a1978
Reviewed-on: https://review.typo3.org/52050
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/FormResultCompiler.php