bug: Misleading errors being shown when selecting Commit in Progress option
Change-Id: Id1753339a9c2b8db7109401a6add5df967896c0c
Signed-off-by: Branden Phillips <branden.w.phillips@boeing.com>
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/util/MergeInProgressHandler.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/util/MergeInProgressHandler.java
index 06b1b4e..925eb20 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/util/MergeInProgressHandler.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/util/MergeInProgressHandler.java
@@ -71,8 +71,10 @@
toReturn = true;
} else if (userOption == LAUNCH_MERGE_VIEW) { // Launch Merge
MergeView.openView(sourceBranch, destinationBranch, BranchManager.getBaseTransaction(sourceBranch));
+ toReturn = true;
} else if (userOption == DELETE_MERGE) { // Delete Merge
deleteSingleMergeBranches(sourceBranch, destinationBranch, skipPrompts);
+ toReturn = true;
} else if (userOption == FORCE_COMMIT) { // Force Commit, admin only
TransactionResult transactionResult = BranchManager.commitBranch(null, conflictManager, archiveBranch, true);
if (transactionResult.isFailed()) {
@@ -80,7 +82,7 @@
}
toReturn = true;
} else if (userOption == CANCEL) {
- // do nothing
+ toReturn = true;
}
return toReturn;
}