Web Client javascript validator message shown twice - bug or something I did wrong?
I've recently added a JavaScript-based validator on the FiledAgainst attribute and enabled Attribute Validation.
If I modify a work item such that the validator will cause an Error message and click Save:
1) in the Eclipse Client, I get a single copy of my message at the top:
Invalid value of attribute 'Filed Against': The work item owned by an individual must be Filed Against a team backlog. Set the Filed Against attribute to your teams' backlog.
(the part after the : is my message).
2) In the Web client, the same thing shows the error at the top but I get 2 copies:
Invalid value of attribute 'Filed Against': The work item owned by an individual must be Filed Against a team backlog. Set the Filed Against attribute to your teams' backlog. Invalid value of attribute 'Filed Against' in work item '66382': The work item owned by an individual must be Filed Against a team backlog. Set the Filed Against attribute to your teams' backlog.
Is there something I did incorrectly in my validator? I can't believe so because the Eclipse client shows properly.
Susan
If I modify a work item such that the validator will cause an Error message and click Save:
1) in the Eclipse Client, I get a single copy of my message at the top:
Invalid value of attribute 'Filed Against': The work item owned by an individual must be Filed Against a team backlog. Set the Filed Against attribute to your teams' backlog.
(the part after the : is my message).
2) In the Web client, the same thing shows the error at the top but I get 2 copies:
Invalid value of attribute 'Filed Against': The work item owned by an individual must be Filed Against a team backlog. Set the Filed Against attribute to your teams' backlog. Invalid value of attribute 'Filed Against' in work item '66382': The work item owned by an individual must be Filed Against a team backlog. Set the Filed Against attribute to your teams' backlog.
Is there something I did incorrectly in my validator? I can't believe so because the Eclipse client shows properly.
Susan
Comments
Rachel Alderman
May 23 '14, 11:18 a.m.