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

Trouble getting a client-side process advisor to run

I'm trying to test a client-side advisor for the workItemSave operation and am getting an "internal error" indicating that it can't be found. (I've triple-checked the id).

Here's what I've done:

1. I've defined a plugin with an operation advisor MyAdvisor which implements IOperationAdvisor (and currently does nothing).

2. I've defined an extension to com.ibm.team.process.operationAdvisors for that plugin and set the advisor class (MyAdvisor) and advisor id (myAdvisor). The operation I'm advising is com.ibm.team.workitem.operation.workItemSave.

3. I've launched the server and verified that it is running correctly through the web interface.

4. I've launched an eclipse instance with my client plugin and all target plugins. It runs and I verified that my plugin is there.

5. I modified the project process spec (eclipse way) to reference my plugin by adding the following for the workItemSave operation advisor already there in the behavior section:
<precondition id="myAdvisor" name="My Advisor" />

When I try to create a new workitem it says it can't find any workitem types.

When I try to modify an existing workitem it gives me an internal error and says it can't find "myAdvisor". Again, I've verified that the plugin is there and that the id declared in the extension matches the process.

A colleague said he had a similar issue and resolved it by customizing the team process instead of the project-level process but this didn't help me.

This is all under 0.6Beta2.

Any ideas?

Thanks!
Tim

0 votes



One answer

Permanent link
I've gotten it to run as a server-side advisor so I guess workItemSave is as server-side operation.

--Tim

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

Question asked: May 01 '08, 3:53 p.m.

Question was seen: 6,590 times

Last updated: May 01 '08, 3:53 p.m.

Confirmation Cancel Confirm