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

Removing an updated documentTag fails with a CircularDependencyError #368

Closed
Alienmaster opened this issue Feb 26, 2024 · 1 comment
Closed
Assignees
Labels
backend This issue is related to the backend bug Something isn't working

Comments

@Alienmaster
Copy link
Member

Alienmaster commented Feb 26, 2024

When removing an updated document Tag through the api it fails and returns the following error message: sqlalchemy.exc.CircularDependencyError: Circular dependency detected.

This only occurs on updated document Tags.

@Alienmaster Alienmaster added bug Something isn't working backend This issue is related to the backend labels Feb 26, 2024
@bigabig bigabig assigned bigabig and Alienmaster and unassigned bigabig Mar 12, 2024
@Alienmaster Alienmaster changed the title Removing documentTag fails with a CircularDependencyError Removing an updated documentTag fails with a CircularDependencyError Mar 20, 2024
@bigabig
Copy link
Member

bigabig commented Oct 7, 2024

fixed in #428 . Actually, there was a bug in the tests, linking the tag to itself. I changed the crud_tag update method to catch this and raise an exception.

@bigabig bigabig closed this as completed Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This issue is related to the backend bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants