Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-499

jax-rs jackson subcollection serrialization issue

    Details

    • Steps to Reproduce:
      Hide

      if you have the class for example:
      public class Foo

      { private List<Bar> barCollection; }

      and second class
      public class Bar

      { private List<Contact> contacts; }

      and another one

      public class Contact

      { private Integer id; private String name; }

      than if you create a rest services, that rescive type "Foo", than you get exception, becouse "contacts" property of "Bar" type can not be successfully serrialized to jackson.

      Show
      if you have the class for example: public class Foo { private List<Bar> barCollection; } and second class public class Bar { private List<Contact> contacts; } and another one public class Contact { private Integer id; private String name; } than if you create a rest services, that rescive type "Foo", than you get exception, becouse "contacts" property of "Bar" type can not be successfully serrialized to jackson.

      Description

      if you have the class for example:
      public class Foo

      { private List<Bar> barCollection; }

      and second class
      public class Bar

      { private List<Contact> contacts; }

      and another one

      public class Contact

      { private Integer id; private String name; }

      than if you create a rest services, that rescive type "Foo", than you get exception, becouse "contacts" property of "Bar" type can not be successfully serrialized to jackson.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                csa Christian Sadilek
                Reporter:
                ffatheranderson Pavel S
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: