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.

pull/14/head
Arne Jans 13 years ago
parent e6a5e98570
commit e5b0674e6b

@ -154,7 +154,8 @@ public final class ProducteevDataService {
task.metadata.add(task.pdvTask); task.metadata.add(task.pdvTask);
metadataService.synchronizeMetadata(task.task.getId(), task.metadata, metadataService.synchronizeMetadata(task.task.getId(), task.metadata,
Criterion.or(MetadataCriteria.withKey(ProducteevTask.METADATA_KEY), Criterion.or(MetadataCriteria.withKey(ProducteevTask.METADATA_KEY),
MetadataCriteria.withKey(TagService.KEY))); MetadataCriteria.withKey(TagService.KEY),
MetadataCriteria.withKey(NoteMetadata.METADATA_KEY)));
} }
/** /**

Loading…
Cancel
Save