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

Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.43.1.Final
    • core engine
    • None
    • 2020 Week 37-39 (from Sep 7)
    • Hide

      I've provided a reproducer (see attachment)

      Steps to reproduce:

      mvn clean install -DskipTests
      mvn --pl drools-7_0_0_Final exec:java -Dexec.mainClass="fr.sle.Application"
      

      You should see a line like : "session serialized in: /tmp/[timestamp]_drools_7.0.0_session"

      copy it and then

      mvn test -Dsession.path=/tmp/[timestamp]_drools_7.0.0_session

      The test should fail with the following result:

      Tests in error:
       deserializeTest(fr.sle.ReproducerTest): Unknown node type ACCUMULATE while deserializing session.
      Show
      I've provided a reproducer (see attachment) Steps to reproduce: mvn clean install -DskipTests mvn --pl drools-7_0_0_Final exec:java -Dexec.mainClass= "fr.sle.Application" You should see a line like : "session serialized in: /tmp/ [timestamp] _drools_7.0.0_session" copy it and then mvn test -Dsession.path=/tmp/[timestamp]_drools_7.0.0_session The test should fail with the following result: Tests in error: deserializeTest(fr.sle.ReproducerTest): Unknown node type ACCUMULATE while deserializing session.
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

    Description

      Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization
      of node memories. For instance it happens if a serialization has been done with earliest version and accumulate node.

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            slem1 Sylvain Lemoine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: