Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

"Locate Change Sets" is showing an active change set in a stream

From a Work Item a user invokes the "Locate Change Sets..." context menu action and adds a stream.
I don't understand how the second change set, that is not completed, can be found in the stream.
I'm using RTC 5.0.2.
Do you have an explanation ?
Thanks,
Claude

0 votes

Comments

Here's the picture from Claude :




Accepted answer

Permanent link
You are correct to be confused with this particular case. It is true, an active/open change set cannot exist in a stream.

There is an explanation for this behavior you are seeing however. Fortunately this is a somewhat rare occurrence.

Quick Summary:
The change set 'state' is cached in your Eclipse client, and the cached 'state' happens to 'think' it's still open when on the server it has actually been completed (upon delivery).

Steps to Reproduce:
-Have a Workitem with an open change set attached to it.
-In Eclipse ClientA (for UserA) open that work item in an editor and navigate to the Links Tab. Confirm you see it as an open change set
-In Eclipse ClientB deliver that change set to the StreamA (Note: The act of delivering will complete/close the change set)
-Now back in Eclipse ClientA, use the "Locate Change Sets" action on that work item and add the stream. The operation will run and it will indicate that the change set is in the stream which is correct. However the label decorator for the change set will still show the active change set. This is because the RTC Eclipse client will cache items it uses across all the views/editors (items being change sets, workspaces, streams, components, builds, work items, etc.). This is to avoid each client hitting the server x number of times always trying to fetch the latest state of each item. Explicit user "refresh" actions tend to force a refresh however.

Steps to Correct This:

You can open up that change set in either the 'Change Explorer' or 'Change Summary' view (in which their 'results' show change sets), and hit the refresh button at the top right of the view. This will refresh the change set, and then label decorators in all the views will correctly show the completed change set icon.
Michael Valenta selected this answer as the correct answer

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,202

Question asked: May 11 '16, 9:57 a.m.

Question was seen: 3,521 times

Last updated: May 24 '16, 9:08 p.m.

Confirmation Cancel Confirm