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

[Process] No IOperationReport in IAdvisorResolutionDelegate

I just did something bad to my IOperationAdvisor , which runs on the work item save operation.

The server side code seems to work fine (IOperationAdvisor#run):


[...]
IAdvisorInfo info =
collector.createProblemInfo("Some text", "Some description","my.problemtype.ID");
info.setData("" + workItem.getId());
collector.addInfo(info);


So, the problem report seems to be added correctly to the IAdvisorInfoCollector.

Also, on the Eclipse client, the Team Advisor view shows the error, and correctly present my Quick Fix Resolution (a.k.a. IAdvisorResolutionDelegate)

HOWEVER, when stepping on the client side through my IAdvisorResolutionDelegate#run,
there are no IOperationReports, e.g.


myAdvisorInfo.getProcessReport().getOperationReports().length == 0 // always true



Any ideas why this could happen? Again the ProblemInfo is added to the collector, all my code is called on server/client-side.


Also, my code has worked fine just some time ago... so I assume it's just a nasty detail. ;-)

thanks for any hint,
Florian

0 votes



One answer

Permanent link
On Tue, 29 Jun 2010 21:37:56 +0000, florian.georg.ch.ibm.com wrote:

myAdvisorInfo.getProcessReport().getOperationReports().length == 0 //
always true

Are you sure the operation isn't being blocked by a client-side advisor?
If the client-side operation report has no children, this would seem to
indicate that the server-side operation was never invoked.

- Jared
------------------------
Jazz Team Process

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,928

Question asked: Jun 29 '10, 5:34 p.m.

Question was seen: 4,682 times

Last updated: Jun 29 '10, 5:34 p.m.

Confirmation Cancel Confirm