[BUGFIX] Reset hidden field information in FormViewhelper 56/50856/2
authorNicole Cordes <typo3@cordes.co>
Wed, 2 Nov 2016 23:26:04 +0000 (00:26 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Wed, 7 Dec 2016 12:39:45 +0000 (13:39 +0100)
commit2852669bdf4f32084645c4e06565dec13db034ab
treee3b014278e8bc3c2f7facd5c45a0da5a538a4cd5
parentb42649e1bb93e4bc037ba702c2b5820ef7b27256
[BUGFIX] Reset hidden field information in FormViewhelper

If a checkbox or a multiple selectbox is rendered, a hidden field is
automatically inserted before to send an empty default value. Field
information are stored within an own viewHelperVariableContainer
variable. After a form is rendered, this information has to be reset to
be able to render another form with same field names. This patch adds
the missing reset of the hidden field information.

Resolves: #78551
Releases: master, 7.6, 6.2
Change-Id: I3cde5618d07cae39b7841875504471cb2341dc17
Reviewed-on: https://review.typo3.org/50856
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/fluid/Classes/ViewHelpers/FormViewHelper.php