Skip to content

Commit

Permalink
Merge branch 'main' into feature/configuration-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh authored Aug 4, 2024
2 parents 8845081 + 272c96d commit 22f7d92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private SortedDictionary<int, RevisionItem> GetRevisionItems(RevisionCollection
}
catch (ArgumentException e)
{
Log.Warning(e, "For some Reason there are multiple Revisions on {WorkItemId} with the same System.Rev. We will create a renumbered list...", items[0].WorkItemId);
Log.Warning("For some Reason there are multiple Revisions on {WorkItemId} with the same System.Rev. We will create a renumbered list...", items[0].WorkItemId);
var currentNumber = -1;
foreach (var item in items)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ protected override void InternalExecute()
Engine.Source.WorkItems.Project.Name, Engine.Target.WorkItems.Project.Name, contextLog);

sourceWorkItems = ((TfsWorkItemMigrationClient)Engine.Target.WorkItems).FilterExistingWorkItems(
sourceWorkItems, _config.WIQLQuery,
sourceWorkItems, targetWIQLQuery,
(TfsWorkItemMigrationClient)Engine.Source.WorkItems);
contextLog.Information(
"!! After removing all found work items there are {SourceWorkItemCount} remaining to be migrated.",
Expand Down Expand Up @@ -911,7 +911,7 @@ private WorkItemData ReplayRevisions(List<RevisionItem> revisionsToMigrate, Work
if (targetWorkItem != null)
{
foreach (Field f in targetWorkItem.ToWorkItem().Fields)
parameters.Add($"{f.ReferenceName} ({f.Name})", f.Value.ToString());
parameters.Add($"{f.ReferenceName} ({f.Name})", f.Value?.ToString());
}
_telemetry.TrackException(ex, parameters);
TraceWriteLine(LogEventLevel.Information, "...FAILED to Save");
Expand Down

0 comments on commit 22f7d92

Please sign in to comment.