index > Team Foundation Server - Work Item Tracking > Publishing errors when updating frozen fields from MS Excel

Publishing errors when updating frozen fields from MS Excel


Why do I get "publishing errors" in the following scenario:
- open a set of workitems in MS Excel
- clear the contents of a field that has a frozen rule (for all rows)
- publish the changes
- select a new valid value for the field that was cleared (for all rows)
- publish the changes
--> conflicting field errors occurs
You have to select either the "Local version" value or the "Server version" value.
What's the difference with the first change (from old value to empty value) ?

Refreshing the list does not change this behavior.

paso
This problem does not occur when changing and publishing the work items row by row.
paso

Hello,

I was not able to reproduce the issue you had.

When you are publishing validation will happen in similar way both for many rows or single row.

Can you please provide you Frozen rule and the state of the work item when you cleared the field and published it.

Thanks,




Smitha Saligrama MSFT
Smitha S Saligrama

This is the code
<FIELD name="Project" refname="Company.Common.Module" type="String" reportable="dimension">
<ALLOWEXISTINGVALUE />
<FROZEN />
<WHEN field="Company.Common.Unit" value="Unit-1">
<ALLOWEDVALUES>
<LISTITEM value="Module-1" />
<LISTITEM value="Module-2" />
<LISTITEM value="Module-3" />
</ALLOWEDVALUES>
<COPY from="value" value="Module-1" />
</WHEN>
<WHEN field="Company.Common.Unit" value="Unit-2">
<ALLOWEDVALUES>
<LISTITEM value="Module-1" />
<LISTITEM value="Module-2" />
<LISTITEM value="Module-3" />
</ALLOWEDVALUES>
<COPY from="value" value="Module-2" />
</WHEN>
</FIELD>

Create a few workitems and make sure the module field is set through the copy rule.
Select these work items from the result view (e.g.:All Workitems query) and right-click "Open selection in MS Excel".
In MS Excel clear the module field for all workitems and publish the changes to TFS.
In MS Excel set the module field for all workitems to "Module-3" and publish the changes to TFS.
This results in the 'conflict'-dialog.

If you refresh the workitems in MS Excel and only change one of them to the new value then this conflict does not occur.

paso

Hello,

Thanks for sharing the rule. This is definitely a bug in our end. Sorry for coming across this issue.

I will report this bug in our database.

Thanks,




Smitha Saligrama MSFT
Smitha S Saligrama

We use this functionality a lot and our project managers are complaining about this behavior.

Any idea if this is fixed in SP1 or if a possible workaround exists ?

paso
reply 6

You can use google to search for other answers

 

More Articles

Using Microsoft Project with TFS Work Items
Assigning same task to multiple resources
How to export QoS Work Item
Issues with customizing Work Item "Assigned To" field
Can users add and view work items from the sharepoint portal for ...
Large number of queries
Automatically create a work item during check-in?
Actual End Date and Actual Effort
getting selected item
Add Related Work Item to different Project?
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Problem with displaying "Work Items…
Creating a Custom query programmatically…
Work item type for new feature requests?
Work Item Add/Updates Not In Reports
How can i map the Item Description field…
Work Item Access control based on Work I…
Opening WI Attachments Requires Username…
Newbie Question - Edit Existing Team Pro…
tf86001 Team foundation was unable to lo…
What is an area?
No way to update AreaPath dropdown throu…
Automatic email notification when Work I…
Developer Hour Tracking Via TFS Add-On
Creating a Visual Studio Add-in for &quo…
Bulk update using MS Excel is very slow

Hot Articles

Subscribing to events
Throw exceptions by new WorkItemStore(se…
How To Temporarily Disable Field Validat…
Error connecting to TFS from MS Project
Witimport - Replace or add... or an easi…
Getting WorkItems by Project Name from T…
The Team Foundation Server work item dat…
Extending Upload Documents Functionality
Skip "validation errors" when …
Making the query find items without a re…
TF80071 connecting MPP to Team project
Project to TFS error -- garbled screen d…
has anybody created a conversion tool th…
Bulk update using MS Excel is very slow
MS project problem

Recommend Articles

getting selected item
Error in creating a work item via the we…
Accessing work item history from API
Open WorkItem Editor
Status of a linked work item
limit control type links control to spec…
Removing a work item
Exception using TFS client in Web App
Work item type for new feature requests?
Displaying a bug description in Excel di…
Possible bug(?): LinksControl as a requi…
Why Cant I enter start date and finish d…
Defect tracking across projects
Work Item Query Question - State Field V…
Apply column options to multiple queries