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

workingCopy.getReferences() returns stale results

Hi,

I am connecting to RTC via the plain java libraries, and I can read work items and their references (attachments, etc) using workingCopy.getReferences(). However, if a user adds a new attachment to the work item using the web client, my plain java client continues to see the old list of references.

How do I force the java client to go and get the most recent version of these references?

PS: I tried doing repository.itemManager().refreshSharedItems, but no luck.

Thanks & regards,
Pradyumna

0 votes



One answer

Permanent link
 You must resolve the whole work item again, to avoid stale results. You only hold one state of the work item. Search the forum for stale. This has been discussed before.

0 votes

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
× 10,938

Question asked: Oct 30 '12, 6:13 a.m.

Question was seen: 5,247 times

Last updated: Nov 01 '12, 5:17 p.m.

Confirmation Cancel Confirm