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
Branches
Tags
1 merge request!10Remove app instances on base removal
Pipeline #87465 passed
This commit is part of merge request !10. Comments created here will be created in the context of that merge request.
......@@ -326,7 +326,7 @@ public class ApplicationController extends AppBaseController {
numberOfRunningInstances = +1;
}
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