]
Brian Leathem updated RF-12398:
-------------------------------
Component/s: component-validators
UIDataAdaptor keepSaved method returns true when maximum severity is
NOT greater than SEVERITY_ERROR
----------------------------------------------------------------------------------------------------
Key: RF-12398
URL:
https://issues.jboss.org/browse/RF-12398
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-validators
Affects Versions: 4.0.0.Final
Reporter: Tomasz Kurpios
According to the description in [RF-8586] UIDataAdaptor should reset child state when
severity is at least ERROR. However it does the opposite - when it is at most ERROR.
That's what is checked:
{code}
FacesMessage.SEVERITY_ERROR.compareTo(sev) >= 0
{code}
And that's what should be checked:
{code}
FacesMessage.SEVERITY_ERROR.compareTo(sev) <= 0
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: