Skip to content

Delete dataset trigger function uses wrong entity type #1867

@anushka-singh

Description

@anushka-singh

Describe the bug

Delete dataset trigger function uses entity type as 'Dataset' instead of 'S3-Dataset'. Due to this, when a dataset is deleted, its corresponding entry is not removed from attached_metadata_form table.

Add a new alembic script to change the trigger function created.

How to Reproduce

*P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.*

Expected behavior

No response

Your project

No response

Screenshots

No response

OS

Mac

Python version

3.9

AWS data.all version

2.7

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions