Skip to content
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

[Craft 4] Two adjacent Neo block lists randomly merged their content/child blocks together #951

Open
ericdrosas87 opened this issue Sep 30, 2024 · 2 comments
Labels
bug report status: unconfirmed A bug report that has not yet been reproduced by the maintainer(s), and more information is required bug report

Comments

@ericdrosas87
Copy link

Bug Description

Screenshot 2024-09-30 at 14 14 38

Three days ago a content creator updated a page that contains Neo block fields and reported everything looking saving as expected. Today a different content creator went in to review the changes and noticed a message that stated “changes have been merged into this version” and then saw that the Accordion Group child blocks had merged with the CTA Grid blocks. There were no saves between three days ago and when the content creator discovered the merged child blocks. That is also to say that there are no revisions in the revision history that show where this change could have occurred. There were also no updates to the project config files nor version bumps to the Neo block plugin.

Steps to reproduce

I think this is what I am asking: how can this be possible? A queue job mangling the data perhaps?

Otherwise:

Create an entry structure with two Neo blocks next two each other, add child blocks to each, do something to trigger that “changes have been merged into this version” message, then see if the child blocks were merged.

Expected behaviour

The child blocks stay within their respective parent block lists.

Neo version

4.0.7

Craft CMS version

4.10.2

What is the affected Neo field's propagation method?

No response

Does this issue involve templating, and if so, is eager-loading used?

This is not a templating issue

@TheFunkyMonk
Copy link

I had a similar issue (which just came up again) and running garbage collection with php craft gc/run fixed it; hopefully, that helps. Definitely something strange going on with garbage collection related to Neo.

@ttempleton
Copy link
Contributor

Yes - try to run garbage collection as @TheFunkyMonk has suggested (after upgrading to the latest Neo version, currently 4.2.16) and let me know if it happens again.

@ttempleton ttempleton added bug report status: unconfirmed A bug report that has not yet been reproduced by the maintainer(s), and more information is required and removed bug report status: new labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report status: unconfirmed A bug report that has not yet been reproduced by the maintainer(s), and more information is required bug report
Projects
None yet
Development

No branches or pull requests

3 participants