RTC API WorkItem Profiles not working!?
![]()
I am having a big utility class for various RTC read operations. One is also for reading work items according to a given profile.
I also have some tests that run against a real server. The tests about reading a work item for a given id and WorkItem profile are all failing because as it seems the work items are always loaded fully, even if I use the small profile.
I am using this call for getting a work item IWorkItemClient.findWorkItemById(id, profile, monitor);
After debugging I came to the class ItemManager and method internalFetchItem.
There I can see the code:
In my tests the itemHandle from the location is always 'null' and therefore the work item is always fully loaded.
Is my test set up (, the repository login procedure) the problem? Or is there a misunderstanding how the profile should be used?
Thank you
|
Be the first one to answer this question!
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.
Comments
I have seen forum responses, that state the profiles are not really implemented. I have however also seen that I did not get custom attributes If I use a small profile. So the truth may be in the middle.
The other thing is that locations are cross repository (CLM links like tracks) as far as I know and might work different from IAuditableHandles.