From e5b0674e6b785c4fb165d3901968c0f677c208c3 Mon Sep 17 00:00:00 2001 From: Arne Jans Date: Thu, 21 Jul 2011 00:09:00 +0200 Subject: [PATCH] Potential fix for duplicated notes in producteev. Please test this thorougly! Also, there is still the deletion of already duplicated notes missing. I hard a hard time trying to get rid of them without coding. --- .../todoroo/astrid/producteev/sync/ProducteevDataService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevDataService.java b/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevDataService.java index bba4fc2a7..bf9703399 100644 --- a/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevDataService.java +++ b/astrid/plugin-src/com/todoroo/astrid/producteev/sync/ProducteevDataService.java @@ -154,7 +154,8 @@ public final class ProducteevDataService { task.metadata.add(task.pdvTask); metadataService.synchronizeMetadata(task.task.getId(), task.metadata, Criterion.or(MetadataCriteria.withKey(ProducteevTask.METADATA_KEY), - MetadataCriteria.withKey(TagService.KEY))); + MetadataCriteria.withKey(TagService.KEY), + MetadataCriteria.withKey(NoteMetadata.METADATA_KEY))); } /**