Oracle Database Projects in VS 2008

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Nihimon
Posts: 68
Joined: Wed Sep 12, 2007 1:23 pm

Oracle Database Projects in VS 2008

Post by Nihimon » Wed May 14, 2008 3:21 pm

[5/14/2008 3:57:14 PM] Version Check: This Vault client is version 4.1.0.16216
[5/14/2008 3:57:14 PM] Version Check: Your Vault server is version 4.1.0.16216
[5/14/2008 3:57:15 PM] Version Check: The following information was retrieved from the SourceGear website. No information was sent to SourceGear. You can disable this part of the version check from the Options dialog.
[5/14/2008 3:57:15 PM] Version Check: The most recent Vault release is version 4.1.1.18060


There is a problem with Oracle Database Projects where adding/removing files will cause the project file to report differently in the Vault Client Pending Checkins tab than it does in the Check-In dialog inside Visual Studio. The Client reports the file is Modified and the dialog inside VS reports the file is Unmodified. I've attached a screenshot showing this.

This is problematic because Checking In from VS causes the project file to Reload and then complain that the file you just removed is missing.

To recreate the problem:
1. Create a new Oracle Database project in Visual Sutdio. *
2. Add a New Script File to the Scripts folder.
3. Save and compare windows.

* If you don't have Oracle Database project as a choice, you can download the Oracle Developer Tools (ODT) at http://www.oracle.com/technology/tech/d ... index.html
Attachments
VaultProblem.JPG
Full screenshot showing both windows with differences circled in red.
VaultProblem.JPG (237.78 KiB) Viewed 4673 times

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Thu May 15, 2008 12:11 pm

Will forcing it to always check in work for you? There is a settings in Tools - Options - Check in, set Check In Unmodified Files to check in, and then you won't get an undo check out there.

In the mean time, I will check out what it's doing here.

Nihimon
Posts: 68
Joined: Wed Sep 12, 2007 1:23 pm

Post by Nihimon » Thu May 15, 2008 12:16 pm

Thanks for the work-around, that works fine, although I'd prefer not to have the extra versions for files that really haven't changed.

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Tue May 20, 2008 2:13 pm

Thanks for the report. I've logged a bug to investigate this.
Ian Olsen
SourceGear

Nihimon
Posts: 68
Joined: Wed Sep 12, 2007 1:23 pm

Post by Nihimon » Tue Jul 22, 2008 9:05 am

Some additional info uncovered by my colleague that may help y'all track this down.

In the initial case, when the data project is showing "Unmodified", if we uncheck it so that it's not checked in with the rest of the items, then we immediately try to check-in the solution again, the data project now shows as being modified. I've included before and after images to illustrate this.

Hope this info helps.
Attachments
VaultInfoBefore.JPG
VaultInfoBefore.JPG (18.43 KiB) Viewed 4256 times
VaultInfoAfter.JPG
VaultInfoAfter.JPG (17.45 KiB) Viewed 4256 times

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Tue Jul 22, 2008 9:06 am

Thanks.
Ian Olsen
SourceGear

Post Reply