It's all about the answers!

Ask a question

[Process] No IOperationReport in IAdvisorResolutionDelegate


Florian Georg (19031918) | asked Jun 29 '10, 5:34 p.m.
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

One answer



permanent link
Jared Burns (4.5k29) | answered Jul 01 '10, 10:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

Your answer


Register or 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.