Incorporated Sams suggested change for gtasks-migration to reset all gtask metadata-fields before migrating the default-ids, if a taskmatch isnt found. Fixes 16311991.

pull/14/head
Arne Jans 13 years ago
parent 5a9b9432c5
commit b18eb83b30

@ -127,6 +127,7 @@ public class GtasksLegacyMigrator {
if (!foundMatch) {
System.err.println("Resetting metadata");
//For non-matches, make the task look newly created
container.gtaskMetadata = GtasksMetadata.createEmptyMetadata(container.task.getId());
container.gtaskMetadata.setValue(GtasksMetadata.ID, ""); //$NON-NLS-1$
if (originalListId != null) {
// set the list-id based on the original listname, saved above during for-loop

Loading…
Cancel
Save