super-table icon indicating copy to clipboard operation
super-table copied to clipboard

Orphaned revisions

Open murphy1484 opened this issue 1 year ago • 0 comments

Describe the bug

It seems that supertable blocks nested inside a matrix field are not being deleted when the element revisions are pruned. When running php craft utils/prune-revisions I get following results for the supertable elements.

- SuperTable Block 29354 (23 revisions) ... done (found 0)
- SuperTable Block 29355 (23 revisions) ... done (found 0)
- SuperTable Block 29356 (23 revisions) ... done (found 0)
- SuperTable Block 29560 (22 revisions) ... done (found 0)
- SuperTable Block 29561 (22 revisions) ... done (found 0)
- SuperTable Block 29562 (22 revisions) ... done (found 0)
- SuperTable Block 29563 (22 revisions) ... done (found 0)
- SuperTable Block 30665 (9635 revisions) ... done (found 0)
- SuperTable Block 30666 (9635 revisions) ... done (found 0)
- SuperTable Block 30667 (9635 revisions) ... done (found 0)

Steps to reproduce

  1. Supertable blocks inside matrix field
  2. Run php craft utils/prune-revisions --max-revisions=5

Craft CMS version

4.4.15

Plugin version

3.0.12

Multi-site?

Yes

Additional context

No response

murphy1484 avatar Oct 12 '23 09:10 murphy1484