Skip to content
Snippets Groups Projects
Commit 1b17327d authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Respect offline storages on context menu initialization

The FileProvider tries to retrieve the file / folder object
on initialization. In case the requested folder or storage
is temporarily offline, a ResourceDoesNotExistException
is thrown.

This is now fixed by catching the exception an setting
the $record to NULL. This allows to still render the
context menu with the remaining options, such as edit
the storage record or display the records information.

Resolves: #94372
Releases: master, 10.4
Change-Id: I2ef6437b0d6e22462d73c9536433d7dc1914f680
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69517


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 212aca31
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment