Skip to content

Extractor and DNASequence Table Dependency Dispute #8583

Description

@JDAM2k4

Describe the bug
When trying to delete a Collection Object with a DNA Table relationship, you are unable to delete the record because the Extractor is dependent on the DNA Table. This will prevent you from deleting the record even if there is no attached Extractor.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a Collection Object with one or more DNA Sequences attached.
  2. Click on Delete.
  3. See error
Image

Expected behavior
You should be able to delete this with no issue. This could be done by making Extractor dependent on DNASequence through DNASequence -> extractors , and delete the Extractors for a sequence when the sequence is deleted or by making Extractor independent of DNASequence by not requiring a DNASequence. The first option is used many times within Specify (ex. AccessionAgent, BorrowAgent, etc.) but the second fix can be done as an Extractor's role can exist without DNASequences they've extracted.

Crash Report

Specify 7 Crash Report - 2026-09-24T07_28_11.156Z.txt

Reported By
Royal Botanic Garden Edinburgh

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions