]
Tomaz Cerar reassigned WFLY-1605:
---------------------------------
Assignee: Bill Burke (was: Stuart Douglas)
Jackson type info is lost in a GET request returning a collection of
objects
----------------------------------------------------------------------------
Key: WFLY-1605
URL:
https://issues.jboss.org/browse/WFLY-1605
Project: WildFly
Issue Type: Bug
Components: REST
Affects Versions: 8.0.0.Alpha2
Reporter: Juergen Zimmermann
Assignee: Bill Burke
Attachments: testcase-WFLY-1605.zip
I'm having a simple class hierarchy: an abstract class AbstractCustomer and 2 derived
concrete classes.
1) When the GET request's method directly returns a list of objects of
AbstractCustomer, then the mapping information is available (as defined with @JsonTypeInfo
and @JsonSubTypes)
2) However, when the GET request's method returns a Response object encapsulating the
same list (plus a link header), then the mapping information isn't sent to the
client.
I'll attach a testcase.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: