]
Edson Tirelli reassigned DROOLS-1384:
-------------------------------------
Assignee: Maciej Swiderski (was: Edson Tirelli)
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: Maciej Swiderski
Labels: support
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}