PDA

View Full Version : Possible bug in AbstractValidatingInterceptor?



tareq
Sep 13th, 2006, 10:12 AM
in AbstractValidatingInterceptor, line 307 (spring-ws-1.0-m2) :


detailElement.addText(errors[0].getMessage());

causes the first error message to be repeated. I think it should be


detailElement.addText(errors[i].getMessage());

(the "0" at the 47th position should be changed to "i").

Arjen Poutsma
Sep 14th, 2006, 02:07 AM
You're right, that's a bug. Could you create a JIRA issue here: http://opensource.atlassian.com/projects/spring/browse/SWS

Thanks for spotting this!

tareq
Sep 14th, 2006, 02:36 AM
done.
http://opensource.atlassian.com/projects/spring/browse/SWS-51

Arjen Poutsma
Sep 15th, 2006, 02:08 AM
Thanks. It might seem like a lot of overhead to create an issue for a simple thing like this, but this way, I can easily keep track of open bugs, and other people can find out about it as well, without going to the forum.

tareq
Sep 15th, 2006, 02:53 AM
I totaly agree :)