Closed ccchapman closed 1 year ago
Could not reproduce on a fresh install of Craft.
When you attempted on a fresh install, were you testing with the same Neo/Navigation setup?
Could not reproduce on a fresh install of Craft.
When you attempted on a fresh install, were you testing with the same Neo/Navigation setup?
I installed the same plugins however I did not populate any Neo fields or Navigation. I simply created two entries, parent/child, in a structure.
Happy to give it a test with populated Neo and Navigation.
I wanted to share that I tried to reproduce this on a site with basically the same setup (Neo, Navigation, PHP 8.1, Craft 4.4.3) and didn't have any problems. The biggest difference is that the site I tried it on is MySQL-backed, not Postgres; so perhaps that's related.
@ccchapman Can you send your database backup and Composer files into support@craftcms.com? We can try to look into it further from there.
@ccchapman Can you send your database backup and Composer files into support@craftcms.com? We can try to look into it further from there.
Done @brandonkelly. Thanks!
I am closing this issue in favour of https://github.com/spicywebau/craft-neo/issues/725 as it does appear Neo specific.
We received reports of this occuring outside of Neo as well, and tracked it down to a PostgreSQL + garbage collection bug introduced in Craft 3.8 and 4.4.
Craft 3.8.4 and 4.4.4 have just been released with a fix.
What happened?
Description
Garbage collection (GC) is causing structures to be flattened and Neo blocks to disappear.
Steps to reproduce
craft gc/run
(I say no to trashed)craft gc/run
again (Say no to trashed again)Expected behavior
Content is impacted
Actual behavior
Reproduced on multiple attempts and multiple projects.
Could not reproduce on a fresh install of Craft.
Craft CMS version
4.4.3
PHP version
8.1
Operating system and version
No response
Database type and version
PostgreSQL 14.3, PostgreSQL 14.5
Image driver and version
No response
Installed plugins and versions
Composer info from project 1
Composer info from project 2