super-table
super-table copied to clipboard
Orphaned revisions
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
- Supertable blocks inside matrix field
- 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