-
Bug
-
Resolution: Done
-
Critical
-
6.1.0
-
None
The following code causes errors "No enum constant org.drools.core.factmodel.traits.TraitTypeEnum.xxx"
XStream xstream = BatchExecutionHelper.newXStreamMarshaller();
...
ExecutionResults results = (ExecutionResults) xstream.fromXML(responseXml);
The root cause is explained in the jira https://issues.jboss.org/browse/DROOLS-924
"EventFactHandle overrides DefaultFactHandle's toExternalForm(), but it is not happening the same for the createFromExternalFormat() method. Moreover no code takes care of the 1st argument (the format version) of the serialized format so when deserializing it always instance a DefaultFactHandle even when it was serialized an event."
- blocks
-
RHBPMS-1460 [GSS] (6.1.z) EventFactHandles are not deserialized correctly causing error "No enum constant org.drools.core.factmodel.traits.TraitTypeEnum.xxx"
- Verified
- is duplicated by
-
RHBPMS-1460 [GSS] (6.1.z) EventFactHandles are not deserialized correctly causing error "No enum constant org.drools.core.factmodel.traits.TraitTypeEnum.xxx"
- Verified