You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "John Yeary (JIRA)" <de...@myfaces.apache.org> on 2013/08/30 13:39:53 UTC
[jira] [Created] (MYFACES-3768) FacesMessage Severity ordinal
values are not consistent with Mojarra RI
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