« Previous | Next » 

Revision 98f877bb

ID98f877bb3524bff1db2c991b494d1cc10682c2ad

Added by Sebastian Kurfuerst about 10 years ago

[BUGFIX] (Reflection): Prevent use of ReflectionService for Doctrine Proxies

When calling the ReflectionService with a class name for a doctrine proxy,
really weird side-effects can happen, as the Doctrine Proxy class is then
also stored in the Reflection Cache. On the next compilation run, really
weird side-effects can happen. See the corresponding issue for a full
description.

By throwing an exception when a doctrine class is reflected, we prevent
the issue from appearing in the first place.

Resolves: #29449
Change-Id: Ia709b70e4e31facfd88563c5836009d7cee6d7b2

  • added
  • modified
  • copied
  • renamed
  • deleted