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: render CMS content based on component templates correctly #1608

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

SGrueber
Copy link
Collaborator

@SGrueber SGrueber commented Mar 15, 2024

PR Type

[x] Bugfix

What Is the Current Behavior?

If the CMS content uses nested component templates the rendering result might not look as expected and result in the display of duplicated content.

What Is the New Behavior?

Using component templates won't result in duplicated content because all pagelets get a unique ids in the ngrx state management even if component templates are used.

Does this PR Introduce a Breaking Change?

[x] No

Other Information

AB#95047

@SGrueber SGrueber self-assigned this Mar 15, 2024
@SGrueber SGrueber added the bug Something isn't working label Mar 15, 2024
@SGrueber SGrueber added this to the 5.1 milestone Mar 15, 2024
@SGrueber SGrueber requested review from shauke and removed request for shauke March 15, 2024 17:56
@SGrueber SGrueber requested a review from shauke March 18, 2024 17:28
shauke added a commit that referenced this pull request Mar 22, 2024
* necessary to save pagelet information to the ngrx store with context information, plain id based normalization does not work for component templates
@shauke shauke force-pushed the bugfix/component_templates branch from 200a747 to a7d4b9a Compare March 22, 2024 11:35
* necessary to save pagelet information to the ngrx store with context information, plain id based normalization does not work for component templates
@shauke shauke force-pushed the bugfix/component_templates branch from a7d4b9a to 7531388 Compare March 22, 2024 11:59
@shauke shauke changed the title fix: display content using component templates fix: render CMS content based on component templates correctly Mar 22, 2024
@shauke shauke merged commit ff21e54 into develop Mar 22, 2024
22 of 23 checks passed
@shauke shauke deleted the bugfix/component_templates branch March 22, 2024 14:13
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.

2 participants