remove atomic transaction block from resource delete
@@ -870,7 +870,7 @@ def delete_resource(pk):
if res.metadata.relations.all().filter(type='isReplacedBy').exists():
raise ValidationError('An obsoleted resource in the middle of the obsolescence chain '
'cannot be deleted.')
- with transaction.atomic():
+
# when the most recent version of a resource in an obsolescence chain is deleted, the previous
# version in the chain needs to be set as the "active" version by deleting "isReplacedBy"
# relation element
