Describe the bug
Clicking on the link to resources blocking deletion from the "Delete Blocked" dialog creates a fictitious record set. Records can be removed from this without deleting them. This removes the record from the list in the dialog. If all records are removed, the "Delete Blocked" dialog is replaced with a deletion dialog. If you try to delete the original record, an error is thrown.
To Reproduce
Steps to reproduce the behavior:
Go to a record that is referenced by other records
Click "Delete"
From the "Delete Blocked" dialog, click on one of the linked tables and remove records using the red minus button
Repeat for all linked tables and see the deletion dialog
Click "Delete" and see error
Expected behavior
Either the user should not be able to remove records from the fictitious record set, or removing them from it should not remove them from the list of blocking resources in the "Delete Blocked" dialog.
Describe the bug Clicking on the link to resources blocking deletion from the "Delete Blocked" dialog creates a fictitious record set. Records can be removed from this without deleting them. This removes the record from the list in the dialog. If all records are removed, the "Delete Blocked" dialog is replaced with a deletion dialog. If you try to delete the original record, an error is thrown.
To Reproduce Steps to reproduce the behavior:
Expected behavior Either the user should not be able to remove records from the fictitious record set, or removing them from it should not remove them from the list of blocking resources in the "Delete Blocked" dialog.
Screenshots
https://github.com/user-attachments/assets/e17995c4-ccf6-4e4c-8add-16253e74f2e7
https://kupaleobot20240606-edge.test.specifysystems.org/specify/view/agent/29000/
Specify 7 System Information - 2024-07-26T17_47_54.510Z.txt
Please, also fill out the following information manually: