Commit 1d176c4
committed
š (TfsWorkItemMigrationProcessor.cs): add check for field existence before accessing 'ClosedDate'
The code now checks if the "Microsoft.VSTS.Common.ClosedDate" field exists before attempting to access it. This prevents potential runtime errors when the field is not present in the work item, ensuring more robust and error-free execution.1 parent 2e7fa8d commit 1d176c4
File tree
1 file changed
+2
-2
lines changed- src/MigrationTools.Clients.TfsObjectModel/Processors
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
| 422 | + | |
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
0 commit comments