From fa05c788a5f48223aa583b8329218816ae92673a Mon Sep 17 00:00:00 2001 From: Martin Ficzel Date: Wed, 18 Feb 2026 17:23:05 +0100 Subject: [PATCH] BUGFIX: Use node.aggregateId instead of q(node).property('_identifier') as is required in neos 9 --- NodeTypes/Field/FriendlyCaptcha/FriendlyCaptcha.fusion | 2 +- NodeTypes/Field/Honeypot/Honeypot.fusion | 4 ++-- NodeTypes/Form.fusion | 6 +++--- .../Private/Fusion/Prototypes/FieldCollection.Schema.fusion | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/NodeTypes/Field/FriendlyCaptcha/FriendlyCaptcha.fusion b/NodeTypes/Field/FriendlyCaptcha/FriendlyCaptcha.fusion index 36825ad..6d60e35 100644 --- a/NodeTypes/Field/FriendlyCaptcha/FriendlyCaptcha.fusion +++ b/NodeTypes/Field/FriendlyCaptcha/FriendlyCaptcha.fusion @@ -1,5 +1,5 @@ prototype(Sitegeist.PaperTiger:Field.FriendlyCaptcha) < prototype(Neos.Neos:ContentComponent) { - name = ${node.aggregateId} + name = ${node.aggregateId.value} renderer = Neos.Fusion:Case { backend { diff --git a/NodeTypes/Field/Honeypot/Honeypot.fusion b/NodeTypes/Field/Honeypot/Honeypot.fusion index 66d2599..c5e2ae0 100644 --- a/NodeTypes/Field/Honeypot/Honeypot.fusion +++ b/NodeTypes/Field/Honeypot/Honeypot.fusion @@ -1,11 +1,11 @@ prototype(Sitegeist.PaperTiger:Field.Honeypot) < prototype(Neos.Neos:ContentComponent) { - name = ${node.aggregateId} + name = ${node.aggregateId.value} style = 'display:none !important;' class = null honeypotScript = afx` - ` diff --git a/NodeTypes/Form.fusion b/NodeTypes/Form.fusion index c730440..6c27f3d 100644 --- a/NodeTypes/Form.fusion +++ b/NodeTypes/Form.fusion @@ -1,8 +1,8 @@ prototype(Sitegeist.PaperTiger:Form) < prototype(Neos.Neos:ContentComponent) { class = '' - action = ${'#form_' + node.aggregateId} - anchor = afx`` + action = ${'#form_' + node.aggregateId.value} + anchor = afx`` backendStyle = ${StaticResource.content('Sitegeist.PaperTiger', 'Public/Styles/Backend.css')} backendScript = ${StaticResource.content('Sitegeist.PaperTiger', 'Public/Scripts/Backend.js')} @@ -26,7 +26,7 @@ prototype(Sitegeist.PaperTiger:Form) < prototype(Neos.Neos:ContentComponent) { formAction = '_formAction' } - namespace = ${node.aggregateId} + namespace = ${node.aggregateId.value} attributes.class = ${_formClass} attributes.action = ${_formAction} diff --git a/Resources/Private/Fusion/Prototypes/FieldCollection.Schema.fusion b/Resources/Private/Fusion/Prototypes/FieldCollection.Schema.fusion index 15bf9f8..a46a126 100644 --- a/Resources/Private/Fusion/Prototypes/FieldCollection.Schema.fusion +++ b/Resources/Private/Fusion/Prototypes/FieldCollection.Schema.fusion @@ -7,7 +7,7 @@ prototype(Sitegeist.PaperTiger:FieldCollection.Schema) < prototype(Neos.Fusion:C itemName = 'node' carryName = 'carry' itemReducer = Neos.Fusion:Value { - name = ${q(node).is('[instanceof Sitegeist.PaperTiger:Mixin.Name]') ? q(node).property('name') : node.aggregateId} + name = ${q(node).is('[instanceof Sitegeist.PaperTiger:Mixin.Name]') ? q(node).property('name') : node.aggregateId.value} schema = Neos.Fusion:Renderer { @if.canRender = Neos.Fusion:CanRender { type = ${node.nodeTypeName + '.Schema'}