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

RTC Javascript validation- redundant error message is showing on save workitem.

Hi All,

I have a script to validate the dates field in my form. The validation works perfectly , but when i try to save the workitem,
i get the redundant error messages in header shown in RTC web UI as follows.


Invalid value of attribute 'Actual End Date': Actual End Date should be greater than or equal to Actual Start Date.
Invalid value of attribute 'Actual End Date' in work item '<11:18:01>': Actual End Date should be greater than or equal to Actual Start Date.


I have configured the error messages in process configuration source as follows-

<validator id="valdr1">
 <parameters message="Actual End Date should be greater than or equal to Actual Start Date.">
</validator>

is there any way to avoid this kind of redundancy in error messages? Please advice?

Thanks

Akshay P


 

0 votes



One answer

Permanent link
The "severity" attribute is missing in the configuration of the validator parameters. As a result, the message is returned for all severity levels. See the document for more details.
https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Script_Based_Validation

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
× 11,088

Question asked: Jun 13 '16, 6:32 a.m.

Question was seen: 5,145 times

Last updated: Jun 21 '16, 10:05 p.m.

Confirmation Cancel Confirm