Commit 4474a826 authored by Aurelien Pupier's avatar Aurelien Pupier
Browse files

BS-14272: continue to handle the syncrhonuous mode which is used only in

tests
parent f036b159
......@@ -123,7 +123,6 @@ public class RunProcessOperation implements IRunnableWithProgress, Runnable {
new OpenBrowserOperation(url).execute();
} else {
if (hasContractOnInstanciation((Pool) processToRun)) {
//TODO: with another message?
url = deployOperation.getUrlFor(processToRun, monitor);
redirectToPortalTaskListWhenContractAndNoFormAndInitiator();
} else {
......@@ -140,6 +139,9 @@ public class RunProcessOperation implements IRunnableWithProgress, Runnable {
url = deployOperation.getUrlFor(processToRun, monitor);
redirectToPortalTaskListWhenNoInitiator();
}
} else {
//TODO: remove this use case which is used only in tests
url = deployOperation.getUrlFor(processToRun, monitor);
}
} catch (final Exception e) {
status = new Status(IStatus.ERROR, EnginePlugin.PLUGIN_ID, e.getMessage(), e);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment