[TASK] Do not hide possible PHP warning from Extbase exception 25/46425/3
authorXavier Perseguers <xavier@typo3.org>
Mon, 1 Feb 2016 09:14:01 +0000 (10:14 +0100)
committerXavier Perseguers <xavier@typo3.org>
Wed, 3 Feb 2016 08:32:02 +0000 (09:32 +0100)
commit7aac6b49e1810b4a21c6187271aacfa5ad7df301
tree95766f9c1f68895ee48c2c3d3d586d88763cee32
parent8b14ea688247448d82c9e7eda650698b54d01141
[TASK] Do not hide possible PHP warning from Extbase exception

The Extbase ClassInfoFactory may be unable to build information for a
given class if a PHP warning occurs while running in development context.

Instead of hiding the actual exception with a generic message
"Could not analyse class: VendorName\ExtensionKey\Some\Class", it should
include the message of the corresponding exception to give useful advice
while fixing the problem.

Change-Id: I7c4b5c13b034d9a9a0d24aab84863008fbd07598
Releases: master, 7.6
Resolves: #73053
Reviewed-on: https://review.typo3.org/46425
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Eric Chavaillaz <eric@hemmer.ch>
Tested-by: Eric Chavaillaz <eric@hemmer.ch>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php