Skip to content

don't include drafts and revisions in the deletion blocker reference count#609

Draft
i-just wants to merge 2 commits into
5.xfrom
bugfix/600-deletion-blocker-references-count
Draft

don't include drafts and revisions in the deletion blocker reference count#609
i-just wants to merge 2 commits into
5.xfrom
bugfix/600-deletion-blocker-references-count

Conversation

@i-just

@i-just i-just commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Description

Element revisions were counted towards existing references for deletion blockers.
With “native” references (e.g. an entry that’s selected as part of the Link or Entries field), the drafts and revisions are not counted towards references shown by the deletion blocker.

Fix: don’t include drafts and revisions in the reference count.

Related issues

#600

@i-just

i-just commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

@brandonkelly, I’m assuming it’s intentional that we store the references for element drafts and revisions? (If not, further work will be needed here.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant