-
Enhancement
-
Resolution: Done
-
Major
-
7.64.0.Final
-
None
-
2022 Week 02-04 (from Jan 10)
-
2
-
NEW
-
NEW
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.
- is cloned by
-
RHPAM-4134 Handle the case where a class is not found in JSONMarshaller$CustomObjectDeserializer
- Closed