[BUGFIX] EXT:form - Cover empty strings for "skipIfValueIsEmpty" 77/54577/5
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 7 Nov 2017 10:48:00 +0000 (11:48 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Thu, 7 Dec 2017 19:58:33 +0000 (20:58 +0100)
commit7b179396f3f3a2fe5aa75377aa3c357df2e13b35
treec0d77259762e70ff7293f834b0692427e580402b
parentbc4efde706e394130549875638011750c7c75ffe
[BUGFIX] EXT:form - Cover empty strings for "skipIfValueIsEmpty"

This ensures that e.g. unchecked checkboxes are not tried to be
stored in the database as empty strings causing an error on int
fields.

Resolves: #82938
Releases: master, 8.7
Change-Id: I6f1811b8fdf17de4c0dd1fac4dec8076600924c6
Reviewed-on: https://review.typo3.org/54577
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Daniel Lorenz <daniel.lorenz@extco.de>
Tested-by: Daniel Lorenz <daniel.lorenz@extco.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/form/Classes/Domain/Finishers/SaveToDatabaseFinisher.php
typo3/sysext/form/Tests/Unit/Domain/Finishers/SaveToDatabaseFinisherTest.php