Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2017-09-05 16:52:39 -0400
committerDonald Dunne2017-09-05 19:57:36 -0400
commit594eabee5c090bcef2f55924c012e47fc52b7825 (patch)
treea5e62199255d16ad4a5d43171101191cda038d7a
parent2aecc301472caf4b7b06820c5b317e780dc597de (diff)
downloadorg.eclipse.osee-594eabee5c090bcef2f55924c012e47fc52b7825.tar.gz
org.eclipse.osee-594eabee5c090bcef2f55924c012e47fc52b7825.tar.xz
org.eclipse.osee-594eabee5c090bcef2f55924c012e47fc52b7825.zip
bug[ats_TW1945]: Assignee dialog should default to UnAssigned if none selected
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/AssigneeColumnUI.java3
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/dialog/UserCheckTreeDialog.java1
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/AssigneeColumnUI.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/AssigneeColumnUI.java
index a2629f5575..854689521b 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/AssigneeColumnUI.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/column/AssigneeColumnUI.java
@@ -131,8 +131,7 @@ public class AssigneeColumnUI extends XViewerAtsColumnIdColumn implements IAltLe
}
Collection<IAtsUser> users = AtsClientService.get().getUserServiceClient().getAtsUsers(uld.getUsersSelected());
if (users.isEmpty()) {
- AWorkbench.popup("ERROR", "Must have at least one assignee");
- return false;
+ users.add(AtsCoreUsers.UNASSIGNED_USER);
}
// As a convenience, remove the UnAssigned user if another user is selected
if (users.size() > 1) {
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/dialog/UserCheckTreeDialog.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/dialog/UserCheckTreeDialog.java
index f5d8a38436..6aca5c1c3f 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/dialog/UserCheckTreeDialog.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/dialog/UserCheckTreeDialog.java
@@ -31,6 +31,7 @@ import org.eclipse.swt.widgets.Control;
/**
* @author Donald G. Dunne
*/
+@SuppressWarnings("deprecation")
public class UserCheckTreeDialog extends FilteredCheckboxTreeArtifactDialog {
private Collection<User> teamMembers;

Back to the top