[BUGFIX] Fluid form fields only convert identifier objects to identifier 35/43735/9
authorAndreas Allacher <andreas.allacher@gmx.at>
Fri, 2 Oct 2015 10:03:11 +0000 (12:03 +0200)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 16 Oct 2015 09:39:00 +0000 (11:39 +0200)
commitce10c3466523ebd8dff77927580e47a6c1ea2441
treed80b675e6ed3d7968cc3db8e7f84d9e3bf6092c0
parent485c7e562315f3c68182a506f8820efd00f24888
[BUGFIX] Fluid form fields only convert identifier objects to identifier

With the change from getValue to getValueAttribute Fluid now converts
all objects to identifier objects which is wrong because there are many
objects that are valid without identifiers.
For instance, ObjectStorage in multiple select field.
Or a object that implements __toString in TextfieldViewHelper.

The change was introduced with commit https://review.typo3.org/42298/

Change-Id: I666112feeb05381553e8a22881773689f84491b7
Resolves: #70302
Releases: master
Reviewed-on: http://review.typo3.org/43735
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormFieldViewHelper.php