Check Out gets Wrong Version
Moderator: SourceGear
-
- Posts: 5
- Joined: Thu Aug 24, 2006 6:44 pm
Check Out gets Wrong Version
We are having a problem with Check Out that seems like a bug to me. Here is the scenario:
- User 1 has SoS open and is viewing the contents of a project.
- User 2 navigates to same project and checks out a file.
- User 2 modified and checks the file back in.
- User 1 now checks out the same file
The result of this is that User 1 now has the file locked but does NOT have the latest version -- he has the version that was on the server prior to User 2's changes.
This behavior has resulted in several lost changes so far and is a real problem for us.
Please advise
Chris
- User 1 has SoS open and is viewing the contents of a project.
- User 2 navigates to same project and checks out a file.
- User 2 modified and checks the file back in.
- User 1 now checks out the same file
The result of this is that User 1 now has the file locked but does NOT have the latest version -- he has the version that was on the server prior to User 2's changes.
This behavior has resulted in several lost changes so far and is a real problem for us.
Please advise
Chris
We could use more information so that we can try to reproduce this.
What version of SOS are you using?
What version of VSS is installed on the SOS Server machine?
Are users using the SOS GUI client or Visual Studio when this behavior occurs?
If using the GUI Client, what is the file status for the file that User 1 has checked out?
Does the user refresh the file list prior to the checkout?
What version of SOS are you using?
What version of VSS is installed on the SOS Server machine?
Are users using the SOS GUI client or Visual Studio when this behavior occurs?
If using the GUI Client, what is the file status for the file that User 1 has checked out?
Does the user refresh the file list prior to the checkout?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 5
- Joined: Thu Aug 24, 2006 6:44 pm
Thanks for the quick reply -- here are answers to your questions:
>> What version of SOS are you using?
4.1.2 on both the client and the server
>>What version of VSS is installed on the SOS Server machine?
4.1.2
>>Are users using the SOS GUI client or Visual Studio when this
>>behavior occurs?
All users are using the SOS GUI only.
>>If using the GUI Client, what is the file status for the file that
>>User 1 has checked out?
Once the checkout is complete the file status changes to "Old" -- the user still has the previous (now out of date) version of the file but it is locked at that point.
>>Does the user refresh the file list prior to the checkout?
No.
Thanks in advance for your help.
Chris
>> What version of SOS are you using?
4.1.2 on both the client and the server
>>What version of VSS is installed on the SOS Server machine?
4.1.2
>>Are users using the SOS GUI client or Visual Studio when this
>>behavior occurs?
All users are using the SOS GUI only.
>>If using the GUI Client, what is the file status for the file that
>>User 1 has checked out?
Once the checkout is complete the file status changes to "Old" -- the user still has the previous (now out of date) version of the file but it is locked at that point.
>>Does the user refresh the file list prior to the checkout?
No.
Thanks in advance for your help.
Chris
This is the SOS version. We need the version of the VSS Explorer client installed on the SOS Server machine, specifically the version of the ssapi.dll file in the VSS Client\Win32 directory. Here's a link with details:csargent@aerisinc.com wrote:Thanks for the quick reply -- here are answers to your questions:
>>What version of VSS is installed on the SOS Server machine?
4.1.2
http://support.sourcegear.com/viewtopic.php?t=1510
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 5
- Joined: Thu Aug 24, 2006 6:44 pm
VSS Version
Sorry -- didn't read carefully.
The version of the ssapi.dll is: 6.0.96.4.
The version of the ssapi.dll is: 6.0.96.4.
-
- Posts: 5
- Joined: Thu Aug 24, 2006 6:44 pm
I wasn't able to reproduce this, so it could be a configuration or network problem.
A few more questions.
Before the User 1 checks out the file edited by User 2, what is the file status of that file? Old? Needs Merge? Blank?
For the user who doesn't get the newer file on checkout: Check in the SOS GUI Client under Tools->Options->Files. Is "Never replace local copy during Check Out" enabled.
Are there any errors in the SOS Server log (log.txt in the SOS Server directory) that correspond to the checkout by User 1? Anything that might indicate a problem getting the file?
A few more questions.
Before the User 1 checks out the file edited by User 2, what is the file status of that file? Old? Needs Merge? Blank?
For the user who doesn't get the newer file on checkout: Check in the SOS GUI Client under Tools->Options->Files. Is "Never replace local copy during Check Out" enabled.
Are there any errors in the SOS Server log (log.txt in the SOS Server directory) that correspond to the checkout by User 1? Anything that might indicate a problem getting the file?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 5
- Joined: Thu Aug 24, 2006 6:44 pm
It's blank -- If user 1 refreshes the list it switches to "Old" and in that case a subsequent Check Out operation works as you would expect (gets latest version and locks it). It seems as though no refresh of the status is being done prior to the lock.lbauer wrote: Before the User 1 checks out the file edited by User 2, what is the file status of that file? Old? Needs Merge? Blank?
No -- that option is unchecked (for all users as far as that goes).lbauer wrote: For the user who doesn't get the newer file on checkout: Check in the SOS GUI Client under Tools->Options->Files. Is "Never replace local copy during Check Out" enabled.
No -- I just reproduced the problem again and there are no new log entries at all.lbauer wrote: Are there any errors in the SOS Server log (log.txt in the SOS Server directory) that correspond to the checkout by User 1? Anything that might indicate a problem getting the file?
Thanks Chris
When I tested this, I did not refresh the file list first, and it worked as expected.
Not sure why yours is not refreshing. You might consider setting an automatic refresh in the SOS GUI Client to periodically refresh the file list. This is in Tools->Options->View.
Not sure why yours is not refreshing. You might consider setting an automatic refresh in the SOS GUI Client to periodically refresh the file list. This is in Tools->Options->View.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager