Skip to content

Commit

Permalink
Merge pull request #4931 from ClaraRuna/bugfix/4930-evaluate_language…
Browse files Browse the repository at this point in the history
…_dimension_when_rendering_fusion_view

BUGFIX: Evaluate language dimension when rendering nodes.
  • Loading branch information
dlubitz authored Mar 13, 2024
2 parents c2b81f6 + 0a90f2c commit 18046a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Neos.Neos/Classes/View/FusionView.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public function render(): string|ResponseInterface

$fusionRuntime = $this->getFusionRuntime($currentSiteNode);

$this->setFallbackRuleFromDimension($currentNode->subgraphIdentity->dimensionSpacePoint);

$fusionRuntime->pushContextArray([
'node' => $currentNode,
'documentNode' => $this->getClosestDocumentNode($currentNode) ?: $currentNode,
Expand Down

0 comments on commit 18046a6

Please sign in to comment.