Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: infinite loop can occur in the mapping of the content page tree #1555

Merged

Conversation

tbouliere-datasolution
Copy link
Contributor

@tbouliere-datasolution tbouliere-datasolution commented Dec 13, 2023

PR Type

[x] Bugfix

In production, we encountered a particular case, occurring only in server-side rendering, which contained the formation of a content-page-tree looping back on itself.
It was not possible to identify the code that led to this case.
However, the mapper was strengthened to avoid iterating indefinitely in the previous case.

Additionally observed circular references in the content page tree path calculation where removed

Does this PR Introduce a Breaking Change?

[x] No

Other Information

dhhyi
dhhyi previously approved these changes Jan 17, 2024
@dhhyi dhhyi requested a review from shauke January 17, 2024 11:10
@shauke shauke changed the title An infinite loop can occur in the mapping of the content page tree. fix: infinite loop can occur in the mapping of the content page tree Jan 17, 2024
@shauke shauke added this to the 5.1 milestone Jan 17, 2024
@shauke shauke added the bug Something isn't working label Jan 17, 2024
@shauke shauke self-assigned this Jan 17, 2024
@shauke shauke merged commit 2e84cb7 into intershop:develop Mar 27, 2024
16 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants