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
Ensure children do not become orphans #813
base: develop
Are you sure you want to change the base?
Conversation
When will this be merged? This is a real issue. I can confirm that this change fixes the problem! (We added a module to overwrite the stage-builder.js file for now) |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run all tests |
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.
Hello @fredden,
Thanks for the collaboration!
The Changes seem good to me but can you please cover the changes with some automated tests?
Thanks
@magento run Functional Tests EE, WebAPI Tests |
@magento run all tests |
@magento run WebAPI Tests, Unit Tests, Performance Acceptance Tests, Integration Tests, Functional Tests EE, Functional Tests CE, Functional Tests B2B |
Hello @fredden, We have tried to reproduce the issue in the latest development branch ie 2.4-develop but it seems the issue is not reproducible for us. For reference, we are attaching the custom module through which we have tried to reproduce the issue: Let us know if we missed anything. Thanks |
Description
There is a bug in PageBuilder where child content nodes are going missing. These exist and work just fine when the content is first created, and saved, and shows correctly on the front-end. However, when the form is re-rendered in the admin, the children have been deleted, so saving the page/content a second time deletes these content nodes.
This is because the list of child nodes is replaced rather than added to when walking the node tree.
Manual testing scenarios
<render />
tag)Checklist