Reputation: 33
It seems that TFS doesn't handle concurrent work item editing very well. We ran into two problematic scenarios:
Scenario A:
Scenario B:
I'm quite familiar with the TFS SDK (wrote some TFS VS Addon and custom work item controls) but can't find something like a "BeforeEdit" event for a work item.
Having such event would allow me to warn the user that someone else is currently editing (for scenario A) and get the latest revision before editing (for Scenario B).
Thanks, Raviv.
Upvotes: 2
Views: 391
Reputation: 12546
Optimistic concurrency is what it is. The server isnt tracking who is editing work items so If you really wanted to do "Someone else is editing this item" notifications you would probably have to write your own services and custom controls to track it. You'd also have to deal with edit flags not being release if visual studio crashed and with the web UI. If you choose that path I wish you luck!
Upvotes: 1