-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
7.29.0.Final
-
None
-
-
NEW
-
VERIFIED
When a Drools Batch command has been processed, the conversion of the Kie ServiceResponse to JSON incorrectly serializes the ExecutionResponseImple. The resulting message looks like:
{
"org.kie.server.api.model.ServiceResponse" : {
"type" : "SUCCESS",
"msg" : "Container Kie Demo: kie-server successfully called.",
"result" : {
"ExecutionResultImpl" : {
"results" : [ ],
"facts" : [ ]
}
}
}
}
This results in deserialization failure of the client side as the type of the result can not be determined. The correct response should be:
{
"org.kie.server.api.model.ServiceResponse" : {
"type" : "SUCCESS",
"msg" : "Container Kie Demo: kie-server successfully called.",
"result" : {
"execution-results" : {
"results" : [ ],
"facts" : [ ]
}
}
}
}