Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commitf6fecb5
committed
bug#46443 [DoctrineBridge] Don't reinit managers when they are proxied as ghost objects (nicolas-grekas)
This PR was merged into the 4.4 branch.Discussion----------[DoctrineBridge] Don't reinit managers when they are proxied as ghost objects| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | -| License | MIT| Doc PR | -Paving the way to#35345Interface `GhostObjectInterface` extends `LazyLoadingInterface` but breaks LSP because `setProxyInitializer()` takes another kind of closure as argument.This won't solve#35216 since resetting a closed entity manager won't happen anymore if we start to use ghost object proxies. But at least this code won't explode./cc@ostrolucky any idea what we could put inside the added "if" to solve#35216? Would you be up to submit a PR doing that, branch 6.2 I guess since that'd be a new feature?Commits-------1dbf3a6 [DoctrineBridge] Don't reinit managers when they are proxied as ghost objects1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
0 commit comments
Comments
(0)