h4cc/AliceFixturesBundle

Remove local references nesting too deep with many objects

Closed this issue · 4 comments

Fatal error: Nesting level too deep - recursive dependency? in /var/project/vendor/h4cc/alice-fixtures-bundle/Fixtures/FixtureManager.php on line 195

I'm seeing this when loading a YAML file with 180 objects.

Is there a way to add a config hook to skip this? Or can this be removed since it looks like it's fixed in Alice 1.7.0?

h4cc commented

There is still a workaround in use, that could be replaced now:
https://github.com/h4cc/AliceFixturesBundle/blob/master/Fixtures/FixtureManager.php#L171

Will have a look at it.

h4cc commented

@mattsnowboard Removed the workaround.
Could you please check if your problem is fixed?

Once I figured out the change was in bug/22 and I had to tell Composer "dev-bug/22", it worked, thanks!

h4cc commented

Thanks, will release this fix together as v0.4 with the doctrine manager feature.