Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: Lifecycle
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      912
    • Status Whiteboard:
      Hide

      size_small importance_medium

      Show
      size_small importance_medium

      Description

      A DESCRIPTION OF THE REQUEST :
      FacesMessage.Severity is a typesafe enumeration with the meaning to describe the
      severity of an error message displayed using JSF. As a typesafe enumeration, it
      is basically a simple class reference without any transient meaning. This class
      is unfortunately not serializable.

      JUSTIFICATION :
      In order to create error pages which contain jsf style error descriptions (a
      summary, a detail, and a severity), it can be clever to add a FacesMessage as a
      managed bean with e.g. session scope. As such, it will fail a web session to be
      serialized e.g. in failover or server redeployment situations.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Make it serializable. Implement FacesMessage.Severity.readResolve as described
      in Joshua Bloch, Effective Java Programming Language Guide, 2001, Addison
      Wesley, Item 21.

      CUSTOMER SUBMITTED WORKAROUND :
      Store two strings regarding the error description. Hardcode or otherwise encode
      the severity.

      (Due to the construction of FacesMessage, you cannot instantiate it with a null
      Severity field without encountering a NPE)

          • (#1 of 1): 2005-09-20 22:30:34 EDT girish.manwani@sun.com

        Activity

        Ed Burns created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 912 20517
        Ed Burns made changes -
        Status Whiteboard size_small importance_medium
        Hide
        ramiromagalhaes added a comment -

        This is a duplication of JAVASERVERFACES_SPEC_PUBLIC-921.

        Show
        ramiromagalhaes added a comment - This is a duplication of JAVASERVERFACES_SPEC_PUBLIC-921 .
        Hide
        Ed Burns added a comment -

        Bulk assign all of Sheetal's spec issues to me.

        Show
        Ed Burns added a comment - Bulk assign all of Sheetal's spec issues to me.
        Ed Burns made changes -
        Assignee sheetalv [ sheetalv ] Ed Burns [ edburns ]
        Ed Burns made changes -
        Fix Version/s unscheduled [ 10405 ]
        Ed Burns made changes -
        Assignee Ed Burns [ edburns ]
        Ed Burns made changes -
        Fix Version/s 2.3 [ 16372 ]
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
        Ed Burns made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Fix Version/s 2.3 [ 16372 ]
        Ed Burns made changes -
        Priority Trivial [ 5 ] Minor [ 4 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ed Burns
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: