Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS 2012 RC - TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the

Tags:

tfs

So, we are using TFS 2012 RC and have modified the work flow a bit for a regular task item by adding a few custom transition states.

When updating tasks though Visual Studio 2012 RC, everything works fine. I can move through all the states without any problems. However, when updating the task through TFS Portal, either by dragging the item on the board or opening the form and changing the state using the pulldown, I get the following error: "TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item."

This ONLY happens, however, when moving to the Done state and nothing else. All other states work fine.

So, I'm not sure what that means since it works fine in Visual Studio. What would be helpful if I could see the exception or more information somewhere, but I don't know where these validation errors are stored.

Any help would be greatly appreciated!

like image 508
Ilya Avatar asked Jul 17 '12 12:07

Ilya


1 Answers

The issue was with the work flow. The transition was setting a field that was conflicting with the state also changing the same field.

like image 184
Ilya Avatar answered Oct 20 '22 17:10

Ilya