[BUGFIX] File browser fails on inexistent expandFolder 66/26466/4
authorMario Rimann <mario.rimann@typo3.org>
Wed, 18 Dec 2013 09:17:30 +0000 (10:17 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Thu, 9 Jan 2014 08:19:44 +0000 (09:19 +0100)
commita24bfae49eb5348a3de1a9e01987de33614d4f99
treef14b972138add59575e572d5f963017fb96b2d5f
parentaf996702a56d14af76662dda0363e180c631125c
[BUGFIX] File browser fails on inexistent expandFolder

If a user browsed to a directory "foo" and re-opens the file-
browser later, the same directory is shown expanded.

In case the directory has been moved/renamed/deleted in the
meantime, the user gets an exception due to the inexistent
directory.

This change just adds a try/catch block around to handle that
situation.

Change-Id: I39aab6be46aec1d3f1f365e5d5f5455aca9b3aa2
Resolves: #50266
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/26466
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Pascal Maechler
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php