remote_material_references is not cleaned up during project deletion

Description

When a project is deleted the remote_material_references are not removed from the database. The code does not decrement the reference. This means that if the project is recreated, the CertificateMaterializer will assume the certificates are localized (the counter is greater than 0) and may cause for example Jupyter to fail, since the materialize may think the certificates are already there.

Assignee

Antonios Kouzoupis

Reporter

Robin

Labels

None

Fix versions

Priority

Medium
Configure