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 |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Nov 01 '12, 5:17 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.
|
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.