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
Description
After #29078 there seems to be another regression now.
In getDoctrine_Orm_DefaultEntityManagerService.php line 9:
[Symfony\Component\Debug\Exception\FatalThrowableError
Maximum function nesting level of '9999' reached, aborting!
…e container (nicolas-grekas)
This PR was merged into the 3.4 branch.
Discussion
----------
[DI] fix taking lazy services into account when dumping the container
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #29246
| License | MIT
| Doc PR | -
This PR fixes issues found while working on #29246.
It *does* fix the infinite loop, ~but replaces it by an exception (reopening #29078)~:
> ~It's a requirement to specify a Metadata Driver and pass it to Doctrine\ORM\Configuration::setMetadataDriverImpl()~
The full fix is not immediately accessible as it needs some core changes to the dumping logic. Requiring `symfony/proxy-manager-bridge` works around the issue properly.
See #29251 for 4.2
Commits
-------
67d7623 [DI] fix taking lazy services into account when dumping the container
Symfony version(s) affected: 4.2
Description
After #29078 there seems to be another regression now.
How to reproduce
See https://github.com/ro0NL/sf
Run
php -dxdebug.max_nesting_level=9999 bin/console c:c -vvv
The text was updated successfully, but these errors were encountered: