azure-devops-migration-tools: The string is not a valid AllXsd value
Since I upgraded to v11.8.4 I receive the following exception:
The string 'Microsoft.TeamFoundation.WorkItemTracking.Common.ServerDefaultFieldValue' is not a valid AllXsd value
The exception occurs at workItem.Save()
. So it seems like a Field value from the targetWorkItem
(most likely a Date) is faulted so System.Xml.XmlConvert.ToDateTime
cant convert it properly.
But I wasn’t able to trace it down further than the Save(SaveFlags saveFlags)
method
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (14 by maintainers)
Commits related to this issue
- trying to copy commits from fixin of https://github.com/nkdAgility/azure-devops-migration-tools/issues/753 — committed to czechdude/azure-devops-migration-tools by deleted user 3 years ago
@MrHinsh, PR #1197 is waiting for your approval.
I believe its because MSFT API returns
Microsoft.TeamFoundation.WorkItemTracking.Common.ServerDefaultFieldValue
in the GET operation and the migration tool stores it as an object (which would be a string)FieldItem.cs#15
.When the tool goes to POST, it’s simply supplying the string that the original API provided instead of the default value, which is
01/01/9999 00:00:00
.yup, I’m working on a patch to handle this…
testing at the moment.