[BUGFIX] Catch invalid Enum value 95/49695/6
authorSascha Egerer <sascha@sascha-egerer.de>
Wed, 31 Aug 2016 19:13:33 +0000 (21:13 +0200)
committerFrans Saris <franssaris@gmail.com>
Thu, 1 Sep 2016 07:51:02 +0000 (09:51 +0200)
commitf9c9be1f3ec690d1b20e9f4834b3f79557c1a657
tree66f5ee0b505c10c2b22eda8c74bd40d6d24cab36
parentd51d351f99d7f7eca0b8df4cd92ca282aaf74916
[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/49695
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: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/core/Classes/Type/Bitmask/JsConfirmation.php