John Yeary created MYFACES-3768:
-----------------------------------

             Summary: FacesMessage Severity ordinal values are not consistent 
with Mojarra RI
                 Key: MYFACES-3768
                 URL: https://issues.apache.org/jira/browse/MYFACES-3768
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.1.12, 2.1.11, 2.1.10, 2.1.9, 2.1.8, 2.1.7
            Reporter: John Yeary


The ordinal values for the Severity levels in Mojarra use values starting from 
0 while MyFaces uses values starting from 1. This results in inconsistent 
behavior between implementations. I suggest aligning the values starting with 0 
since this is consistent with general programming expectations.

*Mojarra* 

{noformat}
 INFO(0), WARN(1), ERROR(2), and FATAL(3)
{noformat}

*MyFaces*

{noformat}
 INFO(1), WARN(2), ERROR(3), and FATAL(4)
{noformat}


--
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

Reply via email to