Skip to content

Commit

Permalink
BUGFIX: Raw content mode for nodes without node type
Browse files Browse the repository at this point in the history
with neos#5287

`Neos.Node.nodeType` can be `NULL` (and thus `.properties`) which causes a type error if passed to `sortByPropertyPath`

related neos#5402 (comment)
  • Loading branch information
mhsdesign committed Jan 7, 2025
1 parent f20b28c commit cf2e62e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
prototype(Neos.Neos:RawContent.NodeProperties) < prototype(Neos.Fusion:Component) {
@private {
items = ${Neos.Node.nodeType(node).properties}
items = ${Neos.Node.nodeType(node).properties || {}}
[email protected] = ${Neos.Array.sortByPropertyPath(value, 'ui.inspector.position')}
}

Expand Down

0 comments on commit cf2e62e

Please sign in to comment.