Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6681

JSON Marshalling/Unmarshalling of Commands behaves differently than JAXB

XMLWordPrintable

    • 2021 Week 49-51 (from Dec 6th), 2022 Week 02-04 (from Jan 10), 2022 Week 05-07 (from Jan 31), 2022 Week 08-10 (from Feb 21)
    • 5
    • NEW
    • NEW

      I noticed that the FireAllRulesCommand.agendaFilter attribute is not serialised when using the JSON format while it is correctly serialized with JAXB.

      I adapted the org.drools.core.command.runtime.rule.CommandSerializationTest to use JSONMarshaller and noticed the following commands are also not serialized consistently :

      • UpdateCommand.handle is not serialized
      • GetObjectCommand.disconnectedFactHandle is not serialized

      I have attached a sample project containing failing unit tests

              rhn-support-tkobayas Toshiya Kobayashi
              guiliguili76 Guillaume Lasnier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: