[richfaces-issues] [JBoss JIRA] (RF-12398) UIDataAdaptor keepSaved method returns true when maximum severity is NOT greater than SEVERITY_ERROR

Tomasz Kurpios (JIRA) jira-events at lists.jboss.org
Tue Aug 7 09:33:06 EDT 2012


Tomasz Kurpios created RF-12398:
-----------------------------------

             Summary: 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)
    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}
{code}
FacesMessage.SEVERITY_ERROR.compareTo(sev) <= 0
{code}
{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

        


More information about the richfaces-issues mailing list