[BUGFIX] Two mailforms on a page cause error on field validation 44/12844/7
authorErnesto Baschny <ernst@cron-it.de>
Tue, 27 Nov 2012 01:38:49 +0000 (02:38 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 22 Jul 2013 11:13:27 +0000 (13:13 +0200)
commit2a8ee1dc2c9f708e9c5150a812313628e0f179f7
treee3b42b1ef84f30ce614b12a18c7824fc2e646a42
parentfae0992a7ca332a12c5b0daf86e3d6fb0b3802fa
[BUGFIX] Two mailforms on a page cause error on field validation

Check formname for uniqueness and if need append a unique hash.

Change-Id: Ifd33c5130c383f3afc3e5e6d80c1be017f25ec5b
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Fixes: #16114
Reviewed-on: https://review.typo3.org/12844
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/frontend/Classes/ContentObject/FormContentObject.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php