[
https://issues.jboss.org/browse/RF-12398?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-12398:
-------------------------------
Fix Version/s: 4.3.0.Milestone2
Priority: Minor (was: Major)
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
Priority: Minor
Fix For: 4.3.0.Milestone2
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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira