[x] I have verified that I am running the latest version of the COMET Web Services
[x] I have searched open and closed issues to ensure it has not already been reported
Description
currently, it is possible in the Engineering Models browser to delete an engineering model setup with only the generic dialog for confirmation ("are you sure you want to delete this item?")
even when you are (within the same client) logged into this model and have e.g. the element definitions browser open, the model is just deleted and the corresponding browser(s) closed without any further warning
For such an important operation with high level of impact (possibly, if done e.g. on the wrong model accidentally), suggest to implement some checks, user-friendly feedback and/or warnings:
a more clear and explicit warning message that this operation cannot be undone (the recyble bin in the dialog may be somewhat misleading here)
** include not only the type "engineering model setup" in this warning, but the actual name of the model to have a better way to check if it is the correct one you are deleting then only seeing which one is selected in the browser
a check if there are live connections to the model the user is trying to delete (or in any case some info about (recent) activity)
...
Steps to Reproduce
System Configuration
COMET Web Services version:
[x] CDP4Common: 7.1.1
[ ] PostrgreSQL:
[ ] Other:
Environment (Operating system, version and so on):
Prerequisites
Description
currently, it is possible in the Engineering Models browser to delete an engineering model setup with only the generic dialog for confirmation ("are you sure you want to delete this item?") even when you are (within the same client) logged into this model and have e.g. the element definitions browser open, the model is just deleted and the corresponding browser(s) closed without any further warning
For such an important operation with high level of impact (possibly, if done e.g. on the wrong model accidentally), suggest to implement some checks, user-friendly feedback and/or warnings:
Steps to Reproduce
System Configuration