Replies: 9 comments 6 replies
-
You have an invalid character in the contents of a field, this is not checked with the Validate! Look like you may need to check 37715 and see what the data is. Perhaps its an emoji or other character. This is also an unsupported version of the code. |
Beta Was this translation helpful? Give feedback.
-
Your description of the problem is exactly what I said in my description, so I don't think you have added any new info except to say I am on an unsupported version which I believe was the supported version until last week. If I update to 14.4.6 will you then look at the issue? I will update to 14.4.6 anyway because I have the issue that was fixed. Yes, There "appears" to bad data in 37715. We did check and yes it is "bad data". The problem is we cannot fix it in the source work item because it is in revision history for revision playback. The only way I have found migrate that item is to remove the playback; remove the character from source; and run the migration on just that WI. Another interesting fact is I can add the "bad data" directly to the work item as it sits in ADO 2020 Is there any way to scrub the data before hand if the MS Validate won't catch it? |
Beta Was this translation helpful? Give feedback.
-
We have an open request to be able to strip items on the fly and limit the length of the long text fields: #1863 The version that you are using is around two months old and we have had 10-15 releases since then. We constantly fix bugs and adapt the system. (not always in a good way)... as an OSS tool we cant support old versions and often issues are fixed as reported on a daily bases. This particular issue with invalid characters has only been reported twice and it will be a significant fix. Please do add more details and upvote the issue above... |
Beta Was this translation helpful? Give feedback.
-
Sounds good. I must have misread the history, sorry. Will update to .15 and make sure it still happens, but sounds like it will. I'll comment / upvote in #1863 |
Beta Was this translation helpful? Give feedback.
-
I think is will since we have not yet added any code to adapt the content of text fields. If you know the specific field and character you would be able to use a REGEX Fieldmap! |
Beta Was this translation helpful? Give feedback.
-
Related to #1815 |
Beta Was this translation helpful? Give feedback.
-
@bldcm did a Regex work? How would you envisage this working? Its something that I can for sure squeeze into v15, that's in preview right now. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I may have read what you typed wrong! I think I read 14.3 and not 14.4! |
Beta Was this translation helpful? Give feedback.
-
Version
Source Version
Team Foundation Server 2017
Target Version
Azure DevOps Server 2020
Relevant configuration
Version 14.4.4. Looked at 14.4.5 and .6 and it doesn't appear to have addressed this
Relevant log output
What happened?
exception being thrown during save:
Microsoft.TeamFoundation.TeamFoundationServerInvalidRequestException: The request was rejected by the server.
Technical information:
HTTP code 400: Bad Request ---> System.Net.WebException: The remote server returned an error: (400) Bad Request
Have tracked it down to "bad data" in the description and hence the revision during playback. Below is what it looks like in the description
System.ArgumentException: '�', hexadecimal value 0xFFFF, is an invalid
Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem class version 16.205.1 appears to be latest, others are preview
.Validate() not catching a problem with the data and
.Save() throws an exception
The log snipit shows the description/history data as the utility sees it
migration.log
Debug in Visual Studio
Beta Was this translation helpful? Give feedback.
All reactions