Description
That leads to forgetClass
not being fired and allImplementationsForInterface
returning stale classes which leads to places using that and instantiating objects like the property mapper crash if a property mapper was deleted:
Object "Neos\Neos\TypeConverter\NodeConverterBla" is not registered.
This seems to be a regression from e7c00fa as the early return in file_exists($pathAndFilename)
will prevent the cache flushing.
The early return was a necessary evil to support psr4. Previously the class name was inferred by location (that it resides in Classes
), now we scan its contents and build it.
We should probably get the autoloading paths configuration from the package and build a path that way? But that information is not at hand at that time.
I guess we have to add the path to the Flow_Object_Classes
as well?