Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-827

Velocity JSON tool serializer does not respect java.beans.Transient annotation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.2-milestone-1, 7.1.2
    • 7.1.1
    • Velocity
    • None
    • Unit
    • N/A
    • N/A

    Description

      Jackson (which is what used the JSON tool) serialize an object based on Java bean specification but is not actually using Java bean which mean it does not take into account things it does not know like java.beans.Transient which has been introduced in Java 7 (Jackson is still based on Java 6). See https://github.com/FasterXML/jackson-databind/issues/857.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: