rich:messages displays messages multiple times
----------------------------------------------
Key: RF-8762
URL:
https://jira.jboss.org/browse/RF-8762
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-validators
Affects Versions: 3.3.3.Final, 3.3.3.CR1, 3.3.3.BETA1, 3.3.2.SR1, 3.3.2.GA, 3.3.2.CR1,
3.3.1, 3.3.0
Environment: Richfaces 3.3.0 upwards with integrated Spring Webflow (version
2.0.5) and Hibernate Validator 4.0.2.
Reporter: Christopher Chamberlain
Using a graphValidator, I set up a bean with Hibernate Validator annotations.
When multiple fields fail validation; the <rich:messages /> tag outputs the error
messages multiple times.
It seems as though the message is displayed based on the number of failed fields. For
example; when 2 fields fail, it will display both error messages twice. If 3 fields fail,
it'll display all 3 messages 3 times, and so on.
I have managed to replicate the same error in versions 3.3.0 to 3.3.3. I have not tried
>4 as we need a stable release. This may mean it could already be fixed in version 4;
but I am submitting this issue regardless.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira