Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting an abonnement with responses isn't possible in certain situations #197

Open
alextreme opened this issue Nov 13, 2024 · 0 comments
Labels
bug Something isn't working owner: den haag triage

Comments

@alextreme
Copy link
Contributor

alextreme commented Nov 13, 2024

Taiga DH 604

Deleting an abonnement via the admin doesn't work as expected:

psycopg2.errors.ForeignKeyViolation: update or delete on table "datamodel_abonnement" violates foreign key constraint "datamodel_notificati_abonnement_id_3c6e2869_fk_datamodel" on table "datamodel_notificatieresponse"
DETAIL: Key (id)=(60) is still referenced from table "datamodel_notificatieresponse".

This was with 25k responses:

image

@alextreme alextreme added bug Something isn't working triage owner: den haag labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working owner: den haag triage
Projects
None yet
Development

No branches or pull requests

1 participant