Problem with Integration + Presentation and `reloadIfChanged`

Hi everybody,

I have a content element, which fusion files are splitted in Presentation and Integration, and unfortunately now I have a problem when I update the properties and want to automatically reload the content element.

Everything works fine as long I do not split the configuration into Presentation and Integration:

prototype(Foo.Bar:Content.Image) < prototype(Neos.Neos:ContentComponent) {
    teaser = Neos.Neos:Editable {
        property = 'teaser'
    }

    renderer =  afx`
        test:<hr />{props.teaser}<hr />end
    `
}

But as soon as I split it, only the hard coded HTML part will be rendered and the dynamic {props} are not replaced anymore. So the example below would simply result in test:<hr /><hr />end after dynamic reload in backend when changing the property.

prototype(Foo.Bar:Content.Image) < prototype(Neos.Neos:ContentComponent) {
    teaser = Neos.Neos:Editable {
        property = 'teaser'
    }

    renderer = Foo.Bar:Content.Image.Presentation {
        teaser = ${props.teaser}
    }
}
prototype(Foo.Bar:Content.Image.Presentation) < prototype(Neos.Neos:ContentComponent) {
    renderer = afx`
        test:<hr />{props.teaser}<hr />end
    `
}

Am I missing something? Does anybody have a hint, what I am doing wrong?

The Presentational component should be a Neos.Fusion:Component, as it doesn’t need nor should have any connection to Neos or the backend. I assume that is messing something up.

If that doesn’t help we need to look into further debugging :slight_smile:

Thanks. That was the solution.