-
Enhancement
-
Resolution: Done
-
Major
-
7.11.1.GA
-
1
-
False
-
False
-
Documentation (Ref Guide, User Guide, etc.)
-
-
-
-
-
-
ER1
-
+
-
-
2022 Week 02-04 (from Jan 10)
With a payload like this,
{
"lookup" : "StatelessKieSession",
"commands" : [ {
"insert" : {
"object" : {"com.nonexisting.Person":{"name":"taro","age":"20"}},
"out-identifier" : "person",
"return-object" : "true",
"entry-point" : "DEFAULT"
}
}, {
"fire-all-rules" : { }
} ]
}
if JSONMarshaller cannot find a class "com.nonexisting.Person" from classloader, it deserializes the object as a LinkedHashMap with a key "com.nonexisting.Person". It may just result in no matching rule.
However, users may want a warning or an Exception. This JIRA is to add a system property switch to choose the behaviour.
- clones
-
DROOLS-6786 Handle the case where a class is not found in JSONMarshaller$CustomObjectDeserializer
-
- Closed
-