Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix for lame FieldDefinitionNotExistException #2626

Merged
merged 1 commit into from
Feb 18, 2025
Merged

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