*Moved to: http://fluentbytes.com/team-foundation-server-2008-shows-incorrect-version-control-status-in-team-explorer/

Like I promised I would share some additional information on some issues we ran into during the TAP program that currently are not fixed yet in the released version of TFS 2008.

One of the issues we ran into was the fact that one of our development teams got quite confused when the team explorer showed that sources where checked out by someone else while the version control explorer shows that the file is not checked out by anyone.

See below screenshot on what it looks like:

 

As you can see in the team explorer the glyph is shown that indicates the sources are checked out by someone else.

But if you take a look in the version control explorer it is showing that the files are not checked out at all…..

 

You might imagine that this is quite confusing.

We filed a bug for this issue and it appeared that it was caused by a change made in the server logic. the change causes the queries fired by the team explorer to yield other results then the version control explorer. After triage the problem could be solved by a change in the server, but the code churn caused by the fix would be to much before RTM and therefore the decision was made not to fix it in the RTM version but in the next service pack that will follow.

You can read the details in the bug submission found here.(http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=290979)

So what is causing the problem?

It appears this problem only happens when you have a shelve set that contains modified files that got checked out and when you created the shelve set this information is kept in the change set at the shelve.

So the solution is to remove the shelve set…..

How can you determine if a shelve set is causing this problem you can take the following steps:

In your workspace that is showing the problem, run the following TF.exe command:

TF.exe status /shelveset:* /user:* or open the shelveset explorer in the pending checkin window and set the user to be "*" indicating any user.

While not ideal, once you know this issue is present, you can just ignore the icons and continue your work, since it does not block you from doing any work.

Hope this helps,

Cheers,

Marcel

Follow my new blog on http://fluentbytes.com

3 thoughts on “Team Foundation Server 2008 shows incorrect version control status in team explorer

  1. Hi Marcel,

    I was wondering if this issue is going to be fixed with TFS SP1? As de Microsoft spokesman said in the bug submission, the risk was too big to correct it in RTM, but it would be fixed in a next release. Any idea??

    Best regards,
    Youri

  2. We’re running SP1 (client and server) for TFS, and we’re still seeing the same issue. *sigh* It’s not the end of the world, but it’s annoying.

  3. I checked back on this and they decided not to fix this in SP1 due to the performance impact this would have. It is now on the list for V-next, so I am afraid this problem will be with us for quite some time to come…

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>