Unknown showing up on workspace in RTC
When I am in a workitem, then go to link, click on the change set and a file. I expect it to show me the full path such as
Source Control > Show StreamsStreams > NW > NW > Alliance Hospital (OHSU) to MRG - Radiology Results > 5. Code > WMB >
Hence, it should {unknown workspace} and <unknown>. Do you know how to fix it?
Accepted answer
A change set does not contain pathname information, because a given change set can be used by multiple configurations (streams, workspaces, baselines), and the pathname of a file in that change set can be different in each of those configurations (and for mutable configurations like workspaces and streams, different at different times in the same configuration). So to obtain pathname information, you would have to locate the change set in a particular configuration, and then the files would have pathnames.
Comments
2 other answers
I know this is an old post, but I had the same problem using CLI (Command Line Client), also know as lscm.
I got around this unknown pathnames by setting the source workspace on the deliver command.
The deliver command have an option -s | --source where you specify where this deliver is coming from (workspace or stream), just put your workspace name or UUID on this option and you should be good. I understand even using java it should have an option to set the source on a deliver command.
Here a sample
lscm deliver -s <workspace_name or UUID> -r <repository> -c <changeset UUID or alias>
Comments
Hi Sean,
I am facing same problem as you mentioned in your question, when I fetch change set URI using following method
String uri = Location.itemLocation(cshandle, repoURL).toAbsoluteUri().toString();
Did you get any success in this problem using java api.
If you succeeded, could you please help me on this.?
I am trying to fetch change set url using java client api.