Today we tried to show history in Vault, including recursive files, and restrict the history to only show items labeled today by right-clicking on a folder > show history > recursive search > dates: include past 1 days > actions: label.
So then I started expanding the date range, thinking this was similar to the history date issue. Even when I didn't use any date range restrictions, I got nothing back at all.
If I right-click and show labels, this works fine, but it doesn't allow me to do any filtering to restrict the information to just today.[/url]
Show history with action of only "Label" produces
Moderator: SourceGear
There are be a couple of issues here:
-- There may be a bug. I was able to reproduce an empty return on a history query by label actions for the past X days -- but it was intermittent and I haven't yet determined how to reproduce it every time.
-- Another possibility is that you're looking at history of the wrong folder. When you use the Show Labels command, you can see both inherited and recursive labels.
The Show History command only shows labels actually applied to a particular folder, not to its parent or child folders.
In the Show Labels->Labels results, look at the repository path in the Created At column to determine where the label was applied, and run a history query at that level.
-- There may be a bug. I was able to reproduce an empty return on a history query by label actions for the past X days -- but it was intermittent and I haven't yet determined how to reproduce it every time.
-- Another possibility is that you're looking at history of the wrong folder. When you use the Show Labels command, you can see both inherited and recursive labels.
The Show History command only shows labels actually applied to a particular folder, not to its parent or child folders.
In the Show Labels->Labels results, look at the repository path in the Created At column to determine where the label was applied, and run a history query at that level.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
When I do look at Show Labels > Labels results, there's nothing there. We don't label folders, just files. I have to look at the Show Labels > Recursive Labels tab, with Act recursively checked, to see anything of value.lbauer wrote: -- Another possibility is that you're looking at history of the wrong folder. When you use the Show Labels command, you can see both inherited and recursive labels.
The Show History command only shows labels actually applied to a particular folder, not to its parent or child folders.
In the Show Labels->Labels results, look at the repository path in the Created At column to determine where the label was applied, and run a history query at that level.
And when I do find one of the 'Created At" locations and do a history query for just labeled items on that folder directly, I still see nothing. Well, almost nothing. We've only done a few folder-style labels. I see those, but none of the individual labeled files show up.
What version of Vault are you using?
Results will appear in Show Labels > Labels only if you are evoking the Show Labels command on the file or folder that was labeled.
I did some more investigation and I think I know the reason Show History is not returning results for labels applied with in the last day.
In Show Labels, label dates are the actual date the label is applied.
In Show History, the label date that is displayed is the date the label was applied. But the "internal" label date is date of the version which was labeled. This is so that labels will be displayed next to the labeled version in history.
For example:
You have file that was last modified on July 30, 2006. You apply a label to that file today, Oct. 4. In show labels, and in Show history, the label date appears as Oct. 4. But the "internal" date on the label is July 30, since that's the modification date of the file.
If you Show History for labels applied in the the last 1 day that label won't show up.
I grant you this is not particularly intuitive and we probably should take a look at how our date handling affects expected search results.
Results will appear in Show Labels > Labels only if you are evoking the Show Labels command on the file or folder that was labeled.
I did some more investigation and I think I know the reason Show History is not returning results for labels applied with in the last day.
In Show Labels, label dates are the actual date the label is applied.
In Show History, the label date that is displayed is the date the label was applied. But the "internal" label date is date of the version which was labeled. This is so that labels will be displayed next to the labeled version in history.
For example:
You have file that was last modified on July 30, 2006. You apply a label to that file today, Oct. 4. In show labels, and in Show history, the label date appears as Oct. 4. But the "internal" date on the label is July 30, since that's the modification date of the file.
If you Show History for labels applied in the the last 1 day that label won't show up.
I grant you this is not particularly intuitive and we probably should take a look at how our date handling affects expected search results.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Version 3.1.9.3798lbauer wrote:What version of Vault are you using?
I suspected this was the issue as well, as I suggested in my first post, but even when I expand the date range futher back—to include the timestamp of the checked-in version of the label—I still get nothing. In fact, if I don't limit to a date range at all, I get nothing.lbauer wrote:In Show History, the label date that is displayed is the date the label was applied. But the "internal" label date is date of the version which was labeled. This is so that labels will be displayed next to the labeled version in history.
Assuming it actually did work this way, I would agree that it's not intuitive. It does work this way when you're NOT restricting by action: then I see labels with the checked-in version date (rather than the label date). I know why it works this way in this mode (for sorting purposes).lbauer wrote:I grant you this is not particularly intuitive and we probably should take a look at how our date handling affects expected search results.