You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for bringing that limitation to my attention. We were not aware of that Preparse Field bug and it is actually what is causing the described problem as we use a "Anchor ID" preparse field on all our section blocks... hm, not taking more of your time, but do you, by any chance, have a alternative to preparse field that is compatible with neo?
I forgot that there was some suggestion a while ago that issues with Preparse Field and Matrix fields could be resolved by cloning the block query given as the Matrix field value before using it (jalendport/craft-preparse#36), and that potentially this could resolve issues with Neo as well (#429 (comment)) - but those discussions involved Craft 3, and I'm unsure if it's still the case with Craft 4. I think it's worth trying, at least (and if you do try it and it works, please let me know, and I'll update the documentation to reflect that).
If you try the above and it doesn't work, are you able to share the Preparse field contents and I'll try to work out exactly how the block structure data is being lost?
Bug Description
When running
craft resave/entries
in the console the hierachy of neoblocks is lost and all children of a block are now on level 0.Steps to reproduce
craft resave/entries
Expected behaviour
No response
Neo version
3.9.8
Craft CMS version
4.5.10
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
The text was updated successfully, but these errors were encountered: