ColinsALMCornerCheckinPolicies
ColinsALMCornerCheckinPolicies copied to clipboard
Error checking in if Pending Changes window is not refreshed
This issue occurs when the Pending Changes window is not refreshed after a review is completed by a reviewer and a checkin is initiated. The checkin completes, but you'll get a message that says "ID XXXXX. Reason: TF237079: Team Foundation could not update the work item because it was already updated by another user, it does not exist, or you do not have permission to update it."
The ID that it's complaining about is the code review. When this happens, the code review is not associated with the changeset.
This does not happen if the Pending Changes window is refreshed before checking in (after the review is sent back by the reviewer).
A similar problem occurs if you have the "Require Review to be Closed" option turned on. In this case, if the Pending Changes window is kept open while the review is closed, when you try to check in, you get the policy warning failure message. Closing and reopening or refreshing the Pending Changes window resolves this.