« Previous | Next » 

Revision 4f406702

ID4f406702cecd77b2ab940f96e33b2d77ffddd9e4
Parent 2dea8521
Child 8262726d

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