symfony/symfony — comment on commit 4a8f101b9df9f6ba9b1434a5276dc078fbe95d60
File:  line 0
By arnogeurts:

I got an error while generating my entities, due to this commit. This piece of code tries to get the class metadata of the entity object. As long as this entity does not exist yet, the manager will throw an exception.

Are you sure this is the right way to fix the problem?