- Notifications
You must be signed in to change notification settings - Fork 74
Ensure children do not become orphans #813
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
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 |
Hello @fredden, Have you got a chance to check the above comment? Thanks |
@engcom-Hotel I have seen your request. I have not yet found time to review this in detail. I will respond here when I've done so. |
Hello @fredden, Have you got a chance to check this PR? Actually, according to this #813 (comment), we are not able to reproduce the issue. Thanks |
Hello @fredden, We have noticed that this PR has not been updated for a period of long time. Hence we are closing this PR for now. Let us know when you are ready to work on it again, and we will be happy to re-open it. Thank you for your contribution! |
It hasn't been updated as there's nothing here that needs to be changed. |
Hello @fredden, We have attempted to reproduce the issue, but we were unable to do so. Consequently, we left a comment here: #813 (comment) with the module attached for reference. In your comment here: #813 (comment), you mentioned that you would check this issue. However, we have not received any further updates from you for a significant amount of time. As a result, we have closed the PR. Please let us know if you are still able to reproduce the issue, and we will be happy to reopen it. Thanks! |
It's curious that Adobe takes two years to respond (and this is a "good" response; I've personally seen much longer waiting periods), but closes pull requests where the contributor doesn't respond within two weeks. I'm no longer looking into this. Others are welcome to pick up these changes and help Adobe recognise the bug that this fixes. |
After finding this issue i'm glad that you've found a solution. I am still reproducing this issue on 2.4.6 and your code resolve it. |
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