[BUGFIX] Catch invalid Enum value 07/49707/2
authorSascha Egerer <sascha@sascha-egerer.de>
Wed, 31 Aug 2016 19:13:33 +0000 (21:13 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 1 Sep 2016 16:55:50 +0000 (18:55 +0200)
commit7120e9938c1ca9a1b4a8f0af1b1294cc99ac0eb2
tree59b8664d9a06e46c8fe533f69c4d008545772076
parentee4953a3721f5377cdfbd72506c7604b8a1c936d
[BUGFIX] Catch invalid Enum value

To avoid breaking the backend, any exception of the JsConfirmation
must be caught and the default value must be returned.

Resolves: #76719
Releases: master, 7.6
Change-Id: Idfea9ec8aa269ac807bf6936263da9803ea39bf8
Reviewed-on: https://review.typo3.org/49707
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/core/Classes/Type/Bitmask/JsConfirmation.php