Open TheFunkyMonk opened 2 weeks ago
Having the same trouble. Command ./craft gc/run
helps indeed, but for a short period of time only
This seems similar to some of the behaviour from #957. Does your Craft project override Craft's autosaveDrafts
general config setting?
This seems similar to some of the behaviour from #957. Does your Craft project override Craft's
autosaveDrafts
general config setting?
@ttempleton In mine project it's not overwritten, the default true
value is used
Following the resolution of #961 it might be worth running one more gc/run
and re-cloning the cloned blocks, and seeing if that resolves this issue as well.
Hi, just wanted to tag along and mention that I've been having the same issue on Craft 4, using Craft 4.9.7 and above, with Neo's version being 4.2.21.
If it's happening on Craft 4 as well, then this is probably unrelated to #961. If possible, could someone please send in their composer.json/lock files and database backup to plugins@spicyweb.com.au, along with information about an entry where this is reliably reproducible, and we'll have a look.
Bug Description
We've had 3 separate clients report (as well as been experiencing a lot ourselves) child blocks disappearing or popping out of parent blocks recently, causing errors about blocks not being allowed at top level. Refreshing the entry and saving from there sometimes works, and running garbage collection on the server (per other issue recommendations) does help alleviate the issue for a while, but it keeps coming back. These aren't very complex Neo blocks and generally have only one child block, none with more than 1 level of nesting.
Glad to provide composer files/db backup if it's helpful, but it seems to be happening across the board enough at this point that hopefully it's easily reproducable.
Steps to reproduce
Expected behaviour
Entry should save and child blocks should stay in parent containers
Neo version
5.2.15
Craft CMS version
5.4.10
What is the affected Neo field's propagation method?
Save blocks to all sites the owner element is saved in
Does this issue involve templating, and if so, is eager-loading used?
This is not a templating issue