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

Juraj Húska (JIRA) jira-events at lists.jboss.org
Wed Dec 19 12:26:08 EST 2012


     [ https://issues.jboss.org/browse/RF-12398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juraj Húska closed RF-12398.
----------------------------


    
> 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
>            Assignee: Lukáš Fryč
>            Priority: Minor
>             Fix For: 4.3.0.M3
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list