Labels show in History different from Show Labels

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

Moderator: SourceGear

Post Reply
Colen
Posts: 22
Joined: Thu Apr 27, 2006 8:03 pm

Labels show in History different from Show Labels

Post by Colen » Thu May 04, 2006 2:30 pm

Using vault 3.1.8, I just did a test import of a VSS database to sourcegear. It seems to work fine, but here's something odd - when I look at labels from the "Show Labels" menu item, they're right. But when I use the "Show History" to show all labels, they're mixed up.

Using the sourcesafe analye tool on the database found no errors. Here are the error reports from the import:

Finished Export. 5/4/2006 12:55:40 PM
Label Verification: The Vault label file $/AB3 (V3.0 - Build 56 - Beta 0) AB3/product/ab_allies.xml is not in the corresponding VSS label.
Label Verification: The Vault label file $/AB3 (V3.0 - Build 56 - Beta 0) AB3/product/ab_newroster.xml is not in the corresponding VSS label.
Label Verification: The Vault label file $/AB3 (V3.0 - Build 56 - Beta 0) AB3/product/ab_sort.xml is not in the corresponding VSS label.
Label Verification: The Vault label file $/AB3 (V3.0 - Build 56 - Beta 0) AB3/product/core_gamesys.xml is not in the corresponding VSS label.
Label Verification: The VSS file $/AB3 (V3.0 - Build 56 - Beta 0) AB3/product/allies.xml is not in the corresponding Vault label.
Label Verification: The VSS file $/AB3 (V3.0 - Build 56 - Beta 0) AB3/product/gamesys.xml is not in the corresponding Vault label.
Label Verification: The VSS file $/AB3 (V3.0 - Build 56 - Beta 0) AB3/product/newroster.xml is not in the corresponding Vault label.
Label Verification: The VSS file $/AB3 (V3.0 - Build 56 - Beta 0) AB3/product/sort.xml is not in the corresponding Vault label.
Label Verification: The label V3.0 - Build 56 - Beta 0 was not imported correctly
Label Verification: The VSS directory $/AB3 (Army Builder 3.0 Beta Build 70) AB3/docs/tutorial is not in the corresponding Vault label.
Label Verification: The label Army Builder 3.0 Beta Build 70 was not imported correctly
Label Verification: The Vault label file $/AB3 (Army Builder 3.0 Beta Build 66) AB3/graphics/texture/#.bmp is not in the corresponding VSS label.
Label Verification: The VSS file $/AB3 (Army Builder 3.0 Beta Build 66) AB3/graphics/texture/modelcountoutput.bmp is not in the corresponding Vault label.
Label Verification: The label Army Builder 3.0 Beta Build 66 was not imported correctly
Connected to Vault.
Import Complete!
Time to complete import: 01:00:58.5156250
VSS Database closed.


Any ideas?
Attachments
labels.png
The (correct) record of labels, as shown in the 'Show Labels' option.
labels.png (11.26 KiB) Viewed 7327 times
history.png
The incorrect labesl, as shown by the history.
history.png (11.12 KiB) Viewed 7327 times

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri May 05, 2006 10:47 am

In the current version of Vault (3.1.8 ), label dates in the Show History dialog and the Show Labels dialog are displayed differently, due to sorting issues in the Show History dialog.

In Show Labels, the labels are displayed with the datetime the label was actually created.

In the History Dialog, the label dates are displayed as the date of the version of the folder that the label was applied to. This was done so that the labels would be sorted according to the folder's version date, and not the label date, so that actions that happened between the folder versions appear between the labels. For example, if you labeled a folder today, but the label was for a version from a week ago, you'd want the history dialog to display the label with the version it was labeled at, not the date at which you actually labeled it.

So, this is probably the confusion point. With Vault 3.5 we will be sending additional information on history queries, so that we can display the date the label was applied, but order by the folder's version number, so they will have the same date as the Show Labels, but also be sorted correctly in History.

Colen
Posts: 22
Joined: Thu Apr 27, 2006 8:03 pm

Post by Colen » Fri May 05, 2006 12:04 pm

Thanks for the explanation (it's nice to know that it'll be fixed). I'm still a bit confused, though - since the labels were applied in numerical order (i.e. 80 was applied before 82), how is the top label in the history dialog #80 with a date of 4/14/2006 - that label was applied 6 months ago?

Thanks.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri May 05, 2006 1:00 pm

This is an artifact of the VSS import - versions can be out of order because Vault labels the current version, and then changes the folder to match the actual contents of the label, which can mess up the version number and date.

Suffice to say that this out-of-orderness will only be an issue on imported labels and folders. For any labels created with a Vault client, dates and version should be what you expect.

Colen
Posts: 22
Joined: Thu Apr 27, 2006 8:03 pm

Post by Colen » Fri May 05, 2006 1:31 pm

And they'll all be fixed (as in, appearing correctly) when 3.5 comes out, right?

Thanks for the reply.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri May 05, 2006 1:55 pm

The imported labels will not appear differently in 3.5 - the dates and versions have to be adjusted in order to recreate the labels accurately in Vault. The contents of the labels are correct, at the expense of their versions numbers and therefore dates.

One other (pedantic) note about 3.5 : The label dates as they appear in history now are not incorrect, they just reflect the version number date rather than the date the label action was applied. There is ambiguity as to which date it *should* be, and we are changing how that is handled in 3.5.

Colen
Posts: 22
Joined: Thu Apr 27, 2006 8:03 pm

Post by Colen » Fri May 05, 2006 2:09 pm

OK, so the history will "look right" in 3.5? :)

Any timeline for when 3.5 will be released? (As in, within the next week, month, year?)

Thanks.

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Fri May 05, 2006 2:59 pm

Thanks for your understanding :)

3.5 will be released either this month or next month...

Colen
Posts: 22
Joined: Thu Apr 27, 2006 8:03 pm

Post by Colen » Fri May 05, 2006 4:57 pm

Oh, sweet, thanks.

Post Reply