Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-06-23 02:29:47 +0000
committerspingel2008-06-23 02:29:47 +0000
commitc89fd0885be6ec3db0e39a3393565a6694d6503b (patch)
tree8cb6ca75d35129a0d98f78ce0f94b20f01f40c42 /org.eclipse.mylyn.trac.ui
parent5f7a37122574d3b6a73461a435e2d01694774558 (diff)
downloadorg.eclipse.mylyn.tasks-c89fd0885be6ec3db0e39a3393565a6694d6503b.tar.gz
org.eclipse.mylyn.tasks-c89fd0885be6ec3db0e39a3393565a6694d6503b.tar.xz
org.eclipse.mylyn.tasks-c89fd0885be6ec3db0e39a3393565a6694d6503b.zip
NEW - bug 238064: task list updated twice when partial results are returned
https://bugs.eclipse.org/bugs/show_bug.cgi?id=238064
Diffstat (limited to 'org.eclipse.mylyn.trac.ui')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListMigrator.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListMigrator.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListMigrator.java
index 3afa0b9d7..7861f0b7b 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListMigrator.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskListMigrator.java
@@ -56,7 +56,9 @@ public class TracTaskListMigrator extends AbstractTaskListMigrator {
@Override
public void migrateTask(ITask task, Element element) {
- task.setModificationDate(TracUtil.parseDate(element.getAttribute(KEY_LAST_MOD_DATE)));
+ String lastModDate = element.getAttribute(KEY_LAST_MOD_DATE);
+ task.setModificationDate(TracUtil.parseDate(lastModDate));
+ task.setAttribute(TracRepositoryConnector.TASK_KEY_UPDATE_DATE, lastModDate);
if (element.hasAttribute(KEY_SUPPORTS_SUBTASKS)) {
task.setAttribute(TracRepositoryConnector.TASK_KEY_SUPPORTS_SUBTASKS, Boolean.valueOf(
element.getAttribute(KEY_SUPPORTS_SUBTASKS)).toString());

Back to the top