Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-518

Serialization of "structs" fails

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5.1
    • Component/s: core-beans
    • Labels:
      None

      Description

      BeanAdapter currently returns null when get() is called for a valid, non-null public final field. This causes serialization of struct-like classes such as CalendarDate and Point to fail. Also, the Javadoc currently states that non-public and static fields will not be serialized but does not mention final values. BeanAdapter should be updated to return public final values.

        Attachments

          Activity

            People

            • Assignee:
              gbrown Gregory K. Brown
              Reporter:
              gbrown Gregory K. Brown

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment