[jboss-jira] [JBoss JIRA] (DROOLS-1384) Objects in a List is not correctly unmarshalled by JSONMarshaller
Edson Tirelli (JIRA)
issues at jboss.org
Tue Dec 20 22:19:00 EST 2016
[ https://issues.jboss.org/browse/DROOLS-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list