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

Stopping multiple pre-conditions in server-side plugin

Hi, I am implementing some checks on work item save with 2 pre-conditions (it's more convenient to have two). If the first one fails, I am finding the second still runs. Anyone know if possible to abort completely and stop subsequent preconditions from firing.
I stop the pre-condition with 

IAdvisorInfo problem = collector.createProblemInfo(.....)
collector.addInfo(problem)

btw...I assume preconditions run in the order they are listed in the UI. Is that correct/guaranteed? 

Thanks
Sola


0 votes



One answer

Permanent link
I don't think we can abandon the subsequent preconditions check here.
The design here is checking all the preconditions and let people know all he preconditions that fail at once.

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,938
× 89

Question asked: Nov 14 '12, 2:21 p.m.

Question was seen: 4,740 times

Last updated: Dec 03 '12, 9:25 p.m.

Confirmation Cancel Confirm