spicywebau / craft-neo

A Matrix-like field type for Craft CMS that uses existing fields
Other
403 stars 63 forks source link

Blocks that are deleted do not get cleaned up by GC #864

Closed boboldehampsink closed 3 months ago

boboldehampsink commented 3 months ago

Bug Description

I have millions of neoblocks where deletedWithOwner is false - running Craft GC does not clean them up.

Steps to reproduce

  1. Save some blocks
  2. Delete them by saving some new blocks

Expected behaviour

They are soft-deleted, but never get cleaned up. I expect hem to be removed by running GC.

Neo version

4

Craft CMS version

4

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

ttempleton commented 3 months ago

Thanks for reporting that - fixed for the next release.