[BUGFIX] Prevent Exception when form folder doesn't exists 52/52352/2
authorFrans Saris <franssaris@gmail.com>
Tue, 4 Apr 2017 06:49:34 +0000 (08:49 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 4 Apr 2017 07:55:42 +0000 (09:55 +0200)
commit29f1d9f1aee1f2399a5a41facf0896a850bd6e2a
tree4719e4916427dbbf1003ae536cff327379652333
parentc0c3582c0d81598609c83d4e3f095fe0251a5bcb
[BUGFIX] Prevent Exception when form folder doesn't exists

When for ext:form an addition allowedFileMounts is set to an
not existing folder you get an FolderDoesNotExistException when
opening the form editor.

This patch catches the FolderDoesNotExistException and ignores the
folder when not present.

Releases: master
Resolves: #80670
Change-Id: I40994cf0f7b7a005c0b902736c71dcb006b612dd
Reviewed-on: https://review.typo3.org/52352
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php