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

UIComponentBase.saveAttachedState save transient elements as null values on List case

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.7, 1.2.8
    • 1.1.8, 1.2.9, 2.0.1
    • None
    • None

    Description

      UIComponentBase.saveAttachedState needs a null check when a List object is saved. Elements that implements StateHolder and are transient just return null, so if we save a list like facesListeners, we end adding null values to the List.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment