-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
!!! 4191 - Adjust and test node type change behavior #5320
Conversation
This - changes node types also recursively for tethered nodes - adds missing tethered nodes after node type change, also recursively - thoroughly cleans up disallowed children, also recursively - adds default values after node type change - removes obsolete property values after node type change
Neos.ContentRepository.Core/Classes/Feature/Common/TetheredNodeInternals.php
Show resolved
Hide resolved
…ng changes for aggregates
Co-authored-by: Christian Müller <christian@flownative.com>
// null for aggregate scoped changes (e.g. NodeAggregateNameWasChanged, NodeAggregateTypeWasChanged) | ||
public ?OriginDimensionSpacePoint $originDimensionSpacePoint, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo the neos ui must learn to handle this case: https://github.com/neos/neos-ui/blob/13520defa0b00eee9cef6073fde11ccbfa3346d4/Classes/ContentRepository/Service/WorkspaceService.php#L83
i assume we need to mark all occupied nodes of the noteaggregate as changes then? And if removalAttachmentPoint
is set is probably gurantted that originDimensionSpacePoint
is set
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay it did see neos/neos-ui#3878 but one place was overseen :)
Resolves #4191
This introduces a more comprehensive test suite for ChangeNodeType and adds the following features
This also fixes a bug in NodeRemoval where only one child node was removed per removed parent
Additionally, as reported in #4191, the change projection is now able to deal with aggregate scoped changes (NodeAggregateTypeWasChanged, NodeAggregateNameWasChanged)
Upgrade instructions
Requires cr:setup
Review instructions
See change list
Checklist
FEATURE|TASK|BUGFIX
!!!
and have upgrade-instructions