Skip to content
Snippets Groups Projects
Commit e43a1b1d authored by kbeyro's avatar kbeyro
Browse files

Delete base when all the versions are set to DELETED

parent f408f8db
No related branches found
No related tags found
1 merge request!10Remove app instances on base removal
Pipeline #87465 passed
...@@ -326,7 +326,7 @@ public class ApplicationController extends AppBaseController { ...@@ -326,7 +326,7 @@ public class ApplicationController extends AppBaseController {
numberOfRunningInstances = +1; numberOfRunningInstances = +1;
} }
if(numberOfRunningInstances > 0) { if(numberOfRunningInstances > 0) {
throw new ProcessingException("Can not delete app version. You still have " + numberOfRunningInstances + " running instances of this version."); throw new ProcessingException("Can not set state to Disabled. There is still " + numberOfRunningInstances + " running instances of this version.");
} }
} }
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment