Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1088

List of @XmlJavaTypeAdapter-annotated objects may not be deserialized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.12.Final
    • 3.0.8.Final
    • jaxrs
    • None

    Description

      If a method returns a List of objects annotated with @XmlJavaTypeAdapter, it throws an exception because a MessageBodyReader may not be found.

      Root cause seems to be the CollectionPrivider.isWrapped method, which does not check the presence of @XmlJavaTypeAdapter annotation on the wrapped type.

      Attachments

        Activity

          People

            rsigal@redhat.com Ronald Sigal
            htfv_jira Aliaksei Lahachou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: