« Previous | Next » 

Revision 0ded0a4c

ID0ded0a4c4ab81c58bc6ee5e4848f2b3833004f08
Parent 61f2155c
Child 349e5ed2

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