[BUGFIX] Show correct number of inline records defined in flexform 86/32986/4
authorDaniel Alder <dalder@snowflake.ch>
Fri, 26 Sep 2014 07:42:36 +0000 (09:42 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 15 Oct 2014 17:24:34 +0000 (19:24 +0200)
commit5ee67bcaa9455126a3af4f77b7bebbf0a7545531
tree96c4ee6ff6c77f242d73671ffdfa592be53cf8cd
parent2b9bd40768f03846ec2cea53ddce4b686259b2f5
[BUGFIX] Show correct number of inline records defined in flexform

getRelatedRecordsArray() is expecting comma separated list of record ids
Before this patch the full flexform xml was passed.
Now we detect whether a field is a flexform and try to extract the
correct field values from it.

Resolves: #56882
Releases: master, 6.2
Change-Id: I50db5dfd5f07bbc20e369c0a07f2f294afb85321
Reviewed-on: http://review.typo3.org/32986
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Daniel Alder <dalder@snowflake.ch>
Tested-by: Daniel Alder <dalder@snowflake.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Form/Element/InlineElement.php