Wednesday, May 30, 2007

MS Process Editor Bug !!

Hi All,

This post i will show a bug in MS Process Editor, When you try to customize the Process (Workitems Types,Iteration,.....etc) when you try to create a new project with it,you will get an error,this error will be customized based on the customized portion in yur process:
1) Iteration Error or
2)Tasks Error or
3)Work Type Error.

if you want to produce this error ,Do the following:

1) Open Your process.

2) Delete and modify the existing iterations.

3) Upload your Modified Process.

4) Try to create a project using this Process Template,and you will get this error :

Click on the Log File,The first exception is :

---begin Exception entry---Time: 2007-05-30 11:50:22ZModule: Work Item TrackingEvent Description: TF26214: Cannot save the work item. Fields with errors: Iteration Path,IterationIDException Type: Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationExceptionException Message: TF26202: Validation failed. Field 'Iteration Path' not supported.Stack Trace: at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.PreValidate() at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.PreBatchSave() at Microsoft.TeamFoundation.WorkItemTracking.Client.BatchSaveHelper.BatchSave(WorkItem[] items)--- end Exception entry ---

The Fix for this problem, The Editor doesn't change the other files which use the old values and when the TFS try to create the project it searchs for the old values which is not exist on the updated xml file.

This error usually happens on the "workitems.xml" which conatains a default tasks for each project,if you see the below work item :

Iteration 0"/>

Iteration value is wrong which makes this problem happen when you create new project in the TFS.

You might face the problem with Other customized items on the TFS.

Hope this helps.

Moustafa arafa
Post a Comment