Skip to content

Enable delete for unused subproducts#232

Open
dacky179 wants to merge 2 commits intoPHOENIXCONTACT:release/5from
dacky179:fix/AllowDeletingSubproducts
Open

Enable delete for unused subproducts#232
dacky179 wants to merge 2 commits intoPHOENIXCONTACT:release/5from
dacky179:fix/AllowDeletingSubproducts

Conversation

@dacky179
Copy link
Member

I had situation that a product could not be deleted. I thougth it was a problem with regex search and identifier but now I think it is a problem with usage of the product.
A product can be deleted if no other product uses that product.

Filter for undeleted parent products.
If all parents are deleted we can delete the subproduct too.

If all parents are deleted we can delete the subproduct too.
@dacky179
Copy link
Member Author

Please double check! Untested!

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

Successfully merging this pull request may close these issues.

1 participant