As reported on the mailing list, a user encountered an issue trying to delete what appeared to be an empty process group because it contained template definitions.
I propose that the error dialog should allow for (2 - 4) options to resolve this issue:
- Delete this process group and any contained templates (if the process group is empty, the template definitions are now irrelevant anyway)
- Cancel (current option)
- Delete and move all template definitions to the parent process group (this could cause broken connections/lost definitions)
- Delete and export all template definitions to XML (again, not sure this would be of any value as the components and connections no longer exist)
This probably needs some discussion, especially if Matt Gilman can weigh in.