Skip to content

Fix collection deletion including required labels#89

Merged
das-Abroxas merged 2 commits intodevfrom
fix/collection-delete
Jun 29, 2023
Merged

Fix collection deletion including required labels#89
das-Abroxas merged 2 commits intodevfrom
fix/collection-delete

Conversation

@das-Abroxas
Copy link
Copy Markdown
Contributor

Small PR which fixes #88 .

Changes

  • required_label entries associated with the collection are also deleted before the collection itself

Adds a case where an empty collection is to be deleted which has an active
label ontology.
These must be removed before the collection itself, otherwise you will
get a foreign key database error.
@das-Abroxas das-Abroxas added the fix Bug issue fix label Jun 29, 2023
@das-Abroxas das-Abroxas requested review from St4NNi and lfbrehm June 29, 2023 14:57
@das-Abroxas das-Abroxas self-assigned this Jun 29, 2023
Copy link
Copy Markdown
Member

@St4NNi St4NNi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the quick fix

@das-Abroxas das-Abroxas merged commit e30cbcf into dev Jun 29, 2023
@das-Abroxas das-Abroxas deleted the fix/collection-delete branch June 29, 2023 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug issue fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants