« Previous | Next » 

Revision 9fbc677b

ID9fbc677b62f64d238acd99c9cbb6eb72a0d231af
Parent 009ec987
Child ab642b4a

Added by Bastian Waidelich almost 7 years ago

[BUGFIX] Throw exception when trying to reflect a non-existing class

Previously the ``ReflectionService`` ignored classes that couldn't be
loaded. It just logged an error and marked the respective class
"unconfigurable".
This leads to weird side effects that are hard to track down.

With this change an exception is thrown during compile time whenever
a class is being reflected that couldn't be loaded.

If a class or file should be skipped during reflection, the
``excludeClasses`` can be used::

TYPO3:
Flow:
object:
excludeClasses:
'Some.PackageKey': ['Some\\Class\\Name']

Change-Id: I0d43dca0bb8729c5328a89ea930f1014bed201b2
Fixes: FLOW-128
Releases: master, 2.3, 2.2, 2.1

  • added
  • modified
  • copied
  • renamed
  • deleted