Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-10-20 19:59:39 -0400
committermkersten2006-10-20 19:59:39 -0400
commitea7dd7ea6c19be79b59bcd645f96cf6c2fe8eaf8 (patch)
tree4a0ce0ac482f26576c13157f210a0212598ba7e4
parent065d2d761c0780c59649d45aab1a8aafa7cf141d (diff)
downloadorg.eclipse.mylyn.tasks-ea7dd7ea6c19be79b59bcd645f96cf6c2fe8eaf8.tar.gz
org.eclipse.mylyn.tasks-ea7dd7ea6c19be79b59bcd645f96cf6c2fe8eaf8.tar.xz
org.eclipse.mylyn.tasks-ea7dd7ea6c19be79b59bcd645f96cf6c2fe8eaf8.zip
RESOLVED - bug 150948: Jira tasks are not get marked as completed in the archive category
https://bugs.eclipse.org/bugs/show_bug.cgi?id=150948
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/SynchronizeSelectedAction.java13
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/SynchronizeTaskJob.java3
2 files changed, 2 insertions, 14 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/SynchronizeSelectedAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/SynchronizeSelectedAction.java
index 7cdc046c7..0e296cf68 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/SynchronizeSelectedAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/SynchronizeSelectedAction.java
@@ -48,19 +48,6 @@ public class SynchronizeSelectedAction extends ActionDelegate implements IViewAc
private Map<AbstractRepositoryConnector, List<AbstractRepositoryTask>> tasksToSyncMap = new LinkedHashMap<AbstractRepositoryConnector, List<AbstractRepositoryTask>>();
- // private void checkSyncResult(final IJobChangeEvent event, final
- // AbstractRepositoryQuery problemQuery) {
- // if (event.getResult().getException() != null) {
- // PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
- // public void run() {
- // MessageDialog.openError(Display.getDefault().getActiveShell(),
- // TasksUiPlugin.TITLE_DIALOG, event
- // .getResult().getMessage());
- // }
- // });
- // }
- // }
-
public void run(IAction action) {
if (TaskListView.getFromActivePerspective() != null) {
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/SynchronizeTaskJob.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/SynchronizeTaskJob.java
index 93fa7b95a..4ba9092ba 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/SynchronizeTaskJob.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/SynchronizeTaskJob.java
@@ -130,6 +130,8 @@ class SynchronizeTaskJob extends Job {
connector.updateTaskState(repositoryTask);
refreshEditors(repositoryTask);
}
+ } else {
+ connector.updateTaskState(repositoryTask);
}
repositoryTask.setCurrentlySynchronizing(false);
TasksUiPlugin.getTaskListManager().getTaskList().notifyRepositoryInfoChanged(repositoryTask);
@@ -140,7 +142,6 @@ class SynchronizeTaskJob extends Job {
monitor.worked(1);
}
-
// TasksUiPlugin.getDefault().getTaskListNotificationManager().startNotification(1);
} catch (Exception e) {

Back to the top