Skip to content

Cannot delete certain data sets and no error thrown when trying to delete from WB itself #5395

@combs-a

Description

@combs-a

Describe the bug
When trying to delete a Workbench data set via the meta data menu in the Workbench itself, there is no error but the data set is not deleted.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the sdnhmherps database.
  2. Click on Workbench, select the To-One Independent Batch Edit Test (2) Mon Oct 28 2024 (3) dataset.
  3. Click on Meta Data.
  4. Try to delete.
  5. See that it does not delete.

Additionally, I'm getting an IntegrityError when trying to delete this dataset from other places in Specify. The crash error for that is attached below. I had this happen on another dataset, however, it seems like the problem resolved itself after I updated the name and tried to delete it through the meta data menu again, so if needing to test this, maybe keep a backup of the database in case the data set is deleted while trying to recreate the issue.

Expected behavior
Either an error explaining why the data set was deleted, or for the data set to be actually deleted.

Screenshots

firefox_PB6WRTyBnt.mp4

Crash Report
Specify 7 Crash Report - 2024-11-12T22_39_39.992Z.txt

Please fill out the following information manually:

I wasn't able to check on different databases for this specific error but can check when I'm back in office on Thursday.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1 - BugIncorrect behavior of the product2 - WorkBenchIssues that are related to the WorkBench

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions