Skip to content

Commit 832472c

Browse files
authored
Same key item error fix (#2567)
PR based on discussion #2216 (reply in thread)
2 parents 0e1dc05 + f4173ae commit 832472c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MigrationTools.Clients.TfsObjectModel/Processors/TfsWorkItemMigrationProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ private WorkItemData ReplayRevisions(List<RevisionItem> revisionsToMigrate, Work
782782
}
783783
}
784784
// Impersonate revision author. Mapping will apply later and may change this.
785-
targetWorkItem.ToWorkItem().Fields["System.ChangedDate"].Value = revision.Fields["System.ChangedDate"].Value;
785+
targetWorkItem.ToWorkItem().Fields["System.ChangedDate"].Value = revision.ChangedDate;
786786
targetWorkItem.ToWorkItem().Fields["System.ChangedBy"].Value = revision.Fields["System.ChangedBy"].Value.ToString();
787787
targetWorkItem.ToWorkItem().Fields["System.History"].Value = revision.Fields["System.History"].Value;
788788

0 commit comments

Comments
 (0)