Skip to content

Conversation

MrHinsh
Copy link
Member

@MrHinsh MrHinsh commented Feb 18, 2025

🐛 (TfsWorkItemMigrationProcessor.cs): handle FieldDefinitionNotExistException when setting ClosedDate field

Wraps the assignment of the "ClosedDate" field in a try-catch block to handle the FieldDefinitionNotExistException. This change prevents the application from crashing when the field definition does not exist, which can occur due to inconsistencies in the TFS API. The exception is caught and ignored to ensure the migration process continues smoothly.

Co-Authored: @anderssonpof

…xception when setting ClosedDate field

Wraps the assignment of the "ClosedDate" field in a try-catch block to handle the FieldDefinitionNotExistException. This change prevents the application from crashing when the field definition does not exist, which can occur due to inconsistencies in the TFS API. The exception is caught and ignored to ensure the migration process continues smoothly.
@MrHinsh MrHinsh enabled auto-merge February 18, 2025 14:24
@MrHinsh MrHinsh merged commit e9ea86d into main Feb 18, 2025
10 checks passed
@MrHinsh MrHinsh deleted the fix-for-per branch February 18, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant