summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-02-13 03:05:43 (EST)
committerSteffen Pingel2012-02-17 06:23:00 (EST)
commit0aaefa43839aa1d343a28a65948dfedd52f9ede5 (patch)
tree7b12daca2ed230e96e1710b64f5e7e9dfc70281b
parent16011372b76e8a83264ff933f4ca99ad0a5f93c7 (diff)
downloadorg.eclipse.mylyn.tasks-0aaefa43839aa1d343a28a65948dfedd52f9ede5.zip
org.eclipse.mylyn.tasks-0aaefa43839aa1d343a28a65948dfedd52f9ede5.tar.gz
org.eclipse.mylyn.tasks-0aaefa43839aa1d343a28a65948dfedd52f9ede5.tar.bz2
NEW - bug 371154: [regression] notifications are not displayed for new
tasks if connector provides full task data on query execution https://bugs.eclipse.org/bugs/show_bug.cgi?id=371154 Change-Id: I7003ddcaf5fd41efe1b529921835d33051624e22
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeQueriesJob.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeQueriesJob.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeQueriesJob.java
index f404e0b..c5ff6d1 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeQueriesJob.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeQueriesJob.java
@@ -86,12 +86,12 @@ public class SynchronizeQueriesJob extends SynchronizationJob {
} else {
removedQueryResults.remove(task);
}
+ taskList.addTask(task, repositoryQuery);
try {
session.putTaskData(task, taskData);
} catch (CoreException e) {
StatusHandler.log(new Status(IStatus.ERROR, ITasksCoreConstants.ID_PLUGIN, "Failed to save task", e)); //$NON-NLS-1$
}
- taskList.addTask(task, repositoryQuery);
resultCount++;
}