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
[3.x]: All Neo blocks duplicated on an entry #11250
Comments
Are you able to reproduce this with a Matrix field? If not, it may be Neo-specific, and would need to be reported at https://github.com/spicywebau/craft-neo/issues/ instead. Either way, we (or Spicy Web) will need some reliable steps to reproduce, before we can look into it. |
First sorry for the info dump ha, we are still in the process of trying to reproduce this. We have seen this occur with Matrix fields, Super Table and Neo. We haven't been able to reproduce locally but it has happened multiple times on different sites over the last few months. We have seen this occur on 3 sites now: 1: 2: 3: In all of the above cases the fields had a new id and uid. In all instances I looked at in the database the I just found #11466 what was fixed recently. It might explain 2, but 1 and 3 are not multi-site. and for 1 it continued to happen after updating to 3.7.46 |
Going to close this in favor of #11609, which @ttempleton suspected may be related. |
What happened?
Description
We've seen a number of cases of all the Neo blocks on an Entry being duplicated. We've been able to recover from this issue by going back to an older version from before the duplication occurred and choosing "Revert content from this revision".
Steps to reproduce
I haven't been able to find a clear way to reproduce this, but I do have a database sql export from after the most recent time it happened if that can assist in troubleshooting. I observed this happening today when I:
In the new revision that was created after the save, not only were the blocks duplicated, a Redactor field's value had reverted to a previous revision's state. I suspect the issue is that my CMS user had a draft version of the entry that was old and when Craft tried to merge the current state with mine, it:
Expected behavior
No duplication of blocks.
Actual behavior
All Neo blocks are duplicated, maintaining their original order. See this screenshot:
Craft CMS version
3.7.39
PHP version
7.4.29
Operating system and version
Darwin 21.4.0
Database type and version
MySQL 8.0.29
Image driver and version
GD 7.4.29
Installed plugins and versions
The text was updated successfully, but these errors were encountered: