Toshiya Kobayashi created DROOLS-1384:
-----------------------------------------
Summary: Objects in a List is not correctly unmarshalled by JSONMarshaller
Key: DROOLS-1384
URL:
https://issues.jboss.org/browse/DROOLS-1384
Project: Drools
Issue Type: Bug
Components: kie server
Affects Versions: 7.0.0.Beta4
Reporter: Toshiya Kobayashi
Assignee: Edson Tirelli
When JSONMarshaller marshalls and unmarshalls an object which has a List and the List
contains custom class objects, the objects inside the List are instantiated but their
properties are not populated.
For example)
Before marshall:
{noformat}
PojoA [name=A, pojoBList=[PojoB [name=B1, pojoCList=[PojoC [name=C1], PojoC [name=C2]]],
PojoB [name=B2, pojoCList=[PojoC [name=C3]]]], stringList=[Hello, Bye]]
{noformat}
After marshall+unmarshall:
{noformat}
PojoA [name=A, pojoBList=[PojoB [name=null, pojoCList=null], PojoB [name=null,
pojoCList=null]], stringList=[Hello, Bye]]
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)