Skip to content
Snippets Groups Projects

Remove app instances on base removal

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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.");
}
}
);
Loading