Loading Subresources referencing the parent resource causes infinite recursive loop #5156
Replies: 4 comments
-
mhh I thought there was a test to prevent that behavior core/features/main/subresource.feature Line 33 in 3a82243 or maybe that you need to control this via the serialization's max depth? |
Beta Was this translation helpful? Give feedback.
-
@soyuka Tried MaxDepth though, it does not behave as expected, see #33466 |
Beta Was this translation helpful? Give feedback.
-
I guess we need to wait for a fix on symfony's side (symfony/symfony#33764)? |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If entity A loads subresource B via normalizationContext, and B loads any other subresource that loads A, this will be an infinite recursion causing the 502 server issue.
I believe this is really an issue since it seems there's no workaround for this?
Beta Was this translation helpful? Give feedback.
All reactions