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

need to handle deleting catalog and cable catalog items manually to clean up connectors #1491

Open
craigmcchesney opened this issue Jun 2, 2022 · 0 comments

Comments

@craigmcchesney
Copy link
Contributor

Custom code is needed to delete catalog and cable catalog items from the list view delete button. We can't use the REMOVE cascade type because of referential integrity, e.g., we don't want to remove inherited catalog item connectors when we delete cable design items that use those connectors. So we need to handle delete manually to delete connector items that are not used in ItemConnectors. Otherwise they are left in the database, and you can't delete connector_type rows that those connector rows refer to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant