[BUGFIX] File browser fails on inexistent expandFolder 83/26883/3
authorMario Rimann <mario.rimann@typo3.org>
Wed, 18 Dec 2013 09:17:30 +0000 (10:17 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Thu, 16 Jan 2014 21:48:43 +0000 (22:48 +0100)
commitb7ce3effc6edd8a4f8a1fb1b343ff939dee2606e
tree14e4623672c1977759d82c5e705d8e8e94d53cdd
parent429e13d5386429feeddb1b3bdcb956e331ded355
[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/26883
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php