Skip to content

Records blocking deletion can be removed from "Delete Blocked" dialog #5147

Description

@lexiclevenger

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:

  1. Go to a record that is referenced by other records
  2. Click "Delete"
  3. From the "Delete Blocked" dialog, click on one of the linked tables and remove records using the red minus button
  4. Repeat for all linked tables and see the deletion dialog
  5. 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.

Screenshots

Screen.Recording.2024-07-26.at.12.25.14.PM.mov

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:

  • OS: Mac
  • Browser: Chrome
  • Specify 7 Version: 7.9.3 through edge
  • Database Name: KUPaleoBot_2024_06_06
  • Collection name: Paleobotany
  • User Name: kupaleobotadmin

Activity

  1. added
    1 - BugIncorrect behavior of the product
    2 - FormsIssues that are related to the form system
    on Jul 26, 2024
  2. changed the title [-]Delete blocking records can be removed from "Delete Blocked" dialog[/-] [+]Records blocking deletion can be removed from "Delete Blocked" dialog[/+] on Jul 26, 2024
  3. emenslin commented on Aug 7, 2024

    @emenslin

    Can recreate in edge (7.9.6.2)

  4. combs-a commented on Nov 8, 2024

    @combs-a
    Contributor

    Recreated this issue within a tree. Done on production, which is currently testing 7.9.8 as of writing this.

    firefox_RArGq1n671.mp4
  5. added this to the 7.12.3 milestone on Oct 13, 2026
  6. linked a pull request that will close this issuefeat: paginate delete blockers #8238on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

1 - BugIncorrect behavior of the product2 - FormsIssues that are related to the form system

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions