onaclov2000
onaclov2000

Reputation: 5841

Clearcase: Files not visible to view

I just saw a very odd thing, I have a co-worker who has their configspec setup to look at the main branch, and earlier this morning he could see files in a certain folder, he hasn't changed that view and all of a sudden they were gone.

I took a look at the folder's node, and when I compare it with the previous version, it shows that there were like 4 files removed in the latest version of main (that was checked in probably a month ago, so long before the problem began).

So my question is why can I see them when I compare nodes, but not in the folder?

I compared the node I was looking at to previous, so it wasn't like I picked another node I wasn't looking at.

This is so confusing.

EDIT: This only happens with this one folder, the other like 10 folders in the view are all accessible and have the files visible too (and they're all branched the same).

EDIT#2: So they were able to see the files again, (And now I hear it's happened to a second person) by copying out the configspec, stopping the view, starting the view, and copying the configspec back in. Viola the files are back, but that still really doesn't explain what could cause that...

Upvotes: 1

Views: 6312

Answers (3)

erict
erict

Reputation: 1467

Just had the same issue. Turns out the horizontal bar dividing the file view and the "helpful text" was all the way to the top and thus hid the files. No easy indication that it's hidden. Had to look at co-worker's working view to realize that there's a horizontal bar to move. Image showing CC Explorer with files hidden

Upvotes: 6

kolslorr
kolslorr

Reputation: 956

Sounds stupid, but what is the protection of this folder? Does he has "read" access to it?

Upvotes: 0

VonC
VonC

Reputation: 1324537

The usual explanation is when you have the directory checked-out (unreserved) in your view:
Any change made by others (like rmname 4 files) won't be visible until you undo-checkout said directory.

The "all of a sudden" part means he was probably in a dynamic view, in which case you also have the possibility of an "eclipsed" element (a directory in this case): once the private directory (with the same name than the versionned directory, which is the definition of an eclipsed element in a dynamic view) is moved/removed, then the versionned directory takes its place (with the right content, i.e. minus 4 files).

Upvotes: 1

Related Questions