You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like hasReference also recursively looking up a lazy services arguments for reference search,
I've thought, is that really logically? Because lazy services is lazy and are instantiated indirectly so more logically would be skip reference search in lazy service definitions, isn't it?
Thanks for the investigation, we're experiencing the same issue and forced doctrine-bundle 1.6.3 as a quick and dirty fix. Do you guys have a better workaround ?
Hello,
DoctrineBundle have made a change ir orm.xml (added lazy=true):
Now all my lazy services which are actually doctrine listeners stopped working (throws circular error).
After couple of hours of debugging I've found out a bug (hopefully) in
PhpDumper.php
hasReference
method.I've added a debugging echo lines in that method and saw these results:
It looks like hasReference also recursively looking up a lazy services arguments for reference search,
I've thought, is that really logically? Because lazy services is lazy and are instantiated indirectly so more logically would be skip reference search in lazy service definitions, isn't it?
more information:
doctrine/DoctrineBundle#559 (comment)
The text was updated successfully, but these errors were encountered: