Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1177

Deserialization using RO applib fails in Jackson library

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: core-1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Core
    • Labels:
      None

      Description

      It would appear that (as a result of an upgrade to Jackson, in 1.8.0 I think) that it is no longer possible to deserialize directly into our representation classes (eg HomeRepresentation, VersionRepresentation).

      Each of these expose a constructor accepting a single org.codehaus.jackson.JsonNode, and Jackson now says it's looking for a default constructor.

      See http://markmail.org/message/qi23ssz63m7rr57t.

      One possible fix is to deserialize into a JsonNode, and then manually instantiate the representation class manually.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: