BUG: Fluid does not correctly resolve path references on FusionPathProxy #3357
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
This is probably a variant of an issue thought to be fixed with #3041.
As I found out today, this does not work when you use {image.title} in Fluid and image is a FusionPathProxy:
StandardVariableProvider
checks forArrayAccess
,FusionPathProxy
provides that.offsetExists()
andoffsetGet()
only check for the offset directly in the partial fusion tree – there we have no title- Now
$subject
is an object (ourFusionPathProxy
), but has no matching get/set/is/property - Our
TemplateVariableContainer
is getting null back, and thus exits in – that results in null again. - title ends up as null
Expected Behavior
The title should be taken from the assigned image.
Steps To Reproduce
No response
Environment
- Flow: 9.0.0-beta10
- PHP: 8.3
Anything else?
No response