[BUGFIX] Exceptions if EXT:context_help is not installed 29/20929/3
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 20 May 2013 11:25:34 +0000 (15:25 +0400)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 14 Jul 2013 13:57:19 +0000 (15:57 +0200)
commit7c4e668fbe771e70f788b304bbe0b445bf4b53f0
tree316061370310b69db5f87df4f17c617226e88d05
parent0ff4e2312cc2e08432ad5671966df3f81e5e2d6d
[BUGFIX] Exceptions if EXT:context_help is not installed

If the extension 'context_help' is not installed, the web
server's error log sometimes shows exceptions like "Class
'TYPO3\CMS\ContextHelp\ExtDirect\ContextHelpDataProvider'
not found" and "Invalid argument supplied for foreach()".
This happens because the class in question is registered
to ExtDirect without checking if the corresponding
extension is loaded.

Change-Id: Ic773cff2822912aac7841955be2f09d77169fdb9
Resolves: #48394
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/20929
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Felix Kopp
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Core/Bootstrap.php