0

I have two Team Project Collections -- DefaultCollection and ArchiveCollection. I need to update the display name for System.ExternalLinkCount from 'ExternalLinkCount' to 'External Link Count'.

This is the command I'm using to accomplish that on both collections:

witadmin changefield /collection:http://localhost:8080/tfs/<CollectionName> /n:System.ExternalLinkCount /name:"External Link Count"

I get no errors from the command and it tells me that the field is updated. However, after I process the Tfs Warehouse, I see a schema conflict on the field. The DefaultCollection has the updated name, but the ArchiveCollection still has the old name.

That's the part I don't understand. The update is getting made to the same field in both collections, but it isn't updating in the ArchiveCollection.

Not sure what I'm missing.

7
  • Can you double check that the display name was actually changed in the ArchiveCollection? Is it possible that there are other differences between ExternalLinkCount field definitions in these TPCs? Check the output of the listfields command (should be exactly the same for both collections): 'witadmin.exe listfields /collection:<collection url> /n:System.ExternalLinkCount' Aug 8, 2014 at 18:57
  • I ran listfields and they appear to be identical.
    – Steve L.
    Aug 8, 2014 at 19:40
  • I also looked at the fields table in both collections and they match there, too.
    – Steve L.
    Aug 8, 2014 at 19:44
  • 1
    Every collection has its own WIT warehouse adapter job for moving data from TPC database to warehouse DB and also for making schema changes. I guess it is possible that only one of them ran and got blocked because of the schema conflict. I suggest you check the processing status for both collections (using WarehouseControlWebService) and see what was the last time "Work Item Tracking Warehouse Sync" ran, was it after you have made the change to the display name. Aug 8, 2014 at 21:58
  • It's almost as if the WIT adapter job for the ArchiveCollection isn't even working.
    – Steve L.
    Aug 11, 2014 at 15:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.