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

Programmatic validation of work item attributes from client

I have a plain java client application that creates a work item, sets some of its values and saves the work item. After setting each value, I am calling the IAttribute.validate(IAuditableCommon, IWorkItem, IProgressMonitor) method to validate the attribute just set. The method returns a status of OK even if I knowingly set an invalid value. I noticed that the ccm.log has several "SEVERE: Validator not found" messages in it after running the application.

Why can't the validator be found? The attributes in question definitely have validators defined in the process configuration. Is there something I need to do in order to make this work, or can you simply not validate attribute values from the client?

0 votes



4 answers

Permanent link
By the way, the IAttribute object upon which the validate method is being invoked was retrieved by invoking IWorkItemCommon.findAttribute(IProjectAreaHandle, String, IProgressMonitor). I still haven't gotten a response to this question which is presently holding up development.

0 votes


Permanent link
I still have not received a response to this topic. I installed the same validation code in an operation participant on the server-side and the validation using IAttribute.validate worked. Why does this fail in a plain java client?

0 votes


Permanent link
sounds like a bug..

and as I understand it, there is NO commitment to anyone answering anything on this site. This is a community effort.

If you have a licensed copy of the runtime, and have purchased support, then you would go thru your support channel. Least that is what my company does.. I participate here voluntarily, and personally.

Sam

0 votes


Permanent link
Thanks Sam.

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

Question asked: Oct 13 '11, 6:25 p.m.

Question was seen: 5,202 times

Last updated: Oct 13 '11, 6:25 p.m.

Confirmation Cancel Confirm