Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3768

FacesMessage Severity ordinal values are not consistent with Mojarra RI

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0-beta
    • None
    • None

    Description

      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

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

      MyFaces

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

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            jyeary John Yeary
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: