Skip to content

Add checks for scheduled deletions in SortableListener#3034

Open
kov-lucas wants to merge 2 commits intodoctrine-extensions:mainfrom
kov-lucas:patch-1
Open

Add checks for scheduled deletions in SortableListener#3034
kov-lucas wants to merge 2 commits intodoctrine-extensions:mainfrom
kov-lucas:patch-1

Conversation

@kov-lucas
Copy link

@kov-lucas kov-lucas commented Feb 5, 2026

fixes issue #3009

  1. In processDeletion()
    Added an early check that skips position reorganization entirely if any entity is scheduled for deletion. There's no point reorganizing positions for items that are all about to be deleted anyway.

  2. In getMaxPosition()
    Extended the existing check to also detect when group entities are scheduled for deletion. This prevents queries from being built with deleted entities.

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