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 of a graph fails if one of the associated instances references a concept in the primary display that has been deleted #5957
Comments
Unable to reproduce: Unable to delete a concept in RMD manager that is being used in a resource instance's primary descriptor. Error: |
It looks like the user, instead of deleting just the concept, was able to delete the entire thesauri and collection. This is what ultimately caused the issue. Can you confirm this? |
Ok yes I can confirm that if you delete the collection and thesauri that reproduces the issue. |
fixed in #6377 |
fix concept referenced in primary descriptor being deleted, re #5957
if a user deletes a concept that is referenced in a primary display for a resource, then deleting that resource throws an error (and so does deleting the associated graph).
this is caused by not appropriately handling for when the 'get' method throws a
DoesNotExist
errr on this line:https://github.com/archesproject/arches/blob/5.0.0/arches/app/datatypes/concept_types.py#L32
see this thread for a stack trace:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/archesproject/XX26MV55LUo/d2Cv1OTZAgAJ
The text was updated successfully, but these errors were encountered: