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

FacesMessage Severity ordinal values are not consistent with Mojarra RI

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0-beta
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: