[BUGFIX] Check if selected page is available before loading BE module 14/47114/2
authorMichael Oehlhof <typo3@oehlhof.de>
Mon, 23 Nov 2015 23:14:07 +0000 (00:14 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 5 Mar 2016 18:52:27 +0000 (19:52 +0100)
commit0aa34cb072ab1a3f26064056d20c832916aa1518
tree7f0a3b198bb6bc89c8cc3140b21db5e7806a558a
parentee7fafde0942c0c5c035be275879cfcc47392c03
[BUGFIX] Check if selected page is available before loading BE module

If a formerly selected page (in page tree) is not available anymore
(e.g. deleted), any access to a backend module will now check
this condition and will avoid an error.
An empty module will be displayed in such a case.

Resolves: #66449
Releases: master, 7.6
Change-Id: I4caf6abf715af2009705caf126f2614ae5cde9ed
Reviewed-on: https://review.typo3.org/47114
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Http/BackendModuleRequestHandler.php
typo3/sysext/indexed_search/Classes/Controller/AdministrationController.php
typo3/sysext/workspaces/Classes/Controller/ReviewController.php