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

Nested ContentReferences Fusion is evaluated twice #3355

Closed
Sebobo opened this issue Jun 17, 2021 · 0 comments
Closed

Nested ContentReferences Fusion is evaluated twice #3355

Sebobo opened this issue Jun 17, 2021 · 0 comments
Labels

Comments

@Sebobo
Copy link
Member

Sebobo commented Jun 17, 2021

Description

When using Neos.NodeTypes.ContentReferences:ContentReferences that reference elements that contain additional references the whole Fusion part incl. db queries of referenceNodes is executed twice and leads to almost twice the rendering time.

The problem disappears when converting the rendering from Fluid to AFX like in my Gist https://gist.github.com/Sebobo/48fcc490e7655f66208aaf0259b43859

reference-evaluation

Steps to Reproduce

  1. Create text node on an empty page
  2. Create reference to that node on second page
  3. Create reference to the previous reference on third page
  4. Check Fusion trace with http://github.com/Flowpack/Flowpack.Fusion.Tracing

Expected behavior

referenceNodes is only evaluated once

Actual behavior

referenceNodes is evaluated twice

Affected Versions

Neos: 4.3+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant