-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
proposal: cascade delete taxonomy -> terms #8736
Comments
Sounds good |
Can this
be true if the parent Taxonomy is not selected for a field? |
yes, it may be true even if the taxonomy is not selected for a field. For example, in the case of a tenant with multiple Cultures, in the definition of a |
I see, thanks! I had a hunch it has something to do with translations, especially since you suggested it. :) |
When deleting a taxonomy, all terms in it should also be deleted: these operations should probably be "gated" by checks to make sure references in the system don't break.
Example of what I have in mind.
This is a screenshot of a taxonomy in a tenant on my dev box.
When I hit delete:
OnRemoving<TaxonomyPart>()
it should check whether the taxonomy is selected in the settings of anyTaxonomyField
: if that is the case, the operation should fail, and report the reason (e.g. "Taxonomy is selected in field 'foo' in Content Type 'bar'")cc @sebastienros @HermesSbicego-Laser
The text was updated successfully, but these errors were encountered: