[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 ):
So, the problem report seems to be added correctly to theIAdvisorInfoCollector .
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 myIAdvisorResolutionDelegate#run ,
there are noIOperationReport s, e.g.
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
The server side code seems to work fine (
[...]
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
Also, on the Eclipse client, the Team Advisor view shows the error, and correctly present my Quick Fix Resolution (a.k.a.
HOWEVER, when stepping on the client side through my
there are no
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
On Tue, 29 Jun 2010 21:37:56 +0000, florian.georg.ch.ibm.com wrote:
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
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