neos/neos-development-collection
BUG: NodeDuplicationService fails for undeclared properties
Offen
#5.686 geöffnet am 21.11.2025
9.0BugGood first issue
Repository-Metriken
- Stars
- (267 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When
- a node property is set
- the set property is removed from the node type declaration
- the node is copied
the CreateNodeAggregateWithNode fails with PropertyCannotBeSet (see ConstraintChecks::requireNodeTypeToDeclareProperty)
Expected Behavior
This makes sense to keep the CR state as consistent as possible, but the NodeDuplicationService should filter the properties to be set first.
Steps To Reproduce
No response
Environment
- Flow: 9.0.4
- Neos: 9.0.7
- PHP: 8.2
Anything else?
No response