[JBoss JIRA] (DROOLS-5668) Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories
by Sylvain Lemoine (Jira)
[ https://issues.redhat.com/browse/DROOLS-5668?page=com.atlassian.jira.plug... ]
Sylvain Lemoine updated DROOLS-5668:
------------------------------------
Steps to Reproduce:
I've provided a reproducer (see attachment)
Steps to reproduce:
{code:java}
mvn clean install -DskipTests
mvn --pl drools-7_0_0_Final exec:java -Dexec.mainClass="fr.sle.Application"
{code}
You should see a line like : "session serialized in: /tmp/[timestamp]_drools_7.0.0_session"
copy it and then
{code:java}
mvn test -Dsession.path=/tmp/[timestamp]_drools_7.0.0_session{code}
The test should fail with the following result:
{code:java}
Tests in error:
deserializeTest(fr.sle.ReproducerTest): Unknown node type ACCUMULATE while deserializing session.{code}
was:
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.
> Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-5668
> URL: https://issues.redhat.com/browse/DROOLS-5668
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.43.1.Final
> Reporter: Sylvain Lemoine
> Assignee: Mario Fusco
> Priority: Major
> Attachments: drools-node-memories-serialization.tar.gz
>
>
> 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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (DROOLS-5668) Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories
by Sylvain Lemoine (Jira)
[ https://issues.redhat.com/browse/DROOLS-5668?page=com.atlassian.jira.plug... ]
Sylvain Lemoine updated DROOLS-5668:
------------------------------------
Steps to Reproduce:
I've provided a reproducer (see attachment)
Steps to reproduce:
{code:java}
mvn clean install -DskipTests
mvn --pl drools-7_0_0_Final exec:java -Dexec.mainClass="fr.sle.Application"
{code}
You should see a line like : "session serialized in: /tmp/[timestamp]_drools_7.0.0_session"
copy it and then
{code:java}
mvn test -Dsession.path=/tmp/[timestamp]_drools_7.0.0_session{code}
The test should fail with the following result:
{code:java}
Tests in error:
deserializeTest(fr.sle.ReproducerTest): Unknown node type ACCUMULATE while deserializing session.{code}
was:
I've provided a reproducer (see attachment)
Steps to reproduce:
{code:java}
mvn clean install -DskipTests
mvn --pl drools-7_0_0_Final exec:java -Dexec.mainClass="fr.sle.Application"
{code}
You should see a line like : "session serialized in: /tmp/[timestamp]_drools_7.0.0_session"
copy it and then
{code:java}
mvn test -Dsession.path=/tmp/[timestamp]_drools_7.0.0_session{code}
The test should fail with the following result:
{code:java}
Tests in error:
deserializeTest(fr.sle.ReproducerTest): Unknown node type ACCUMULATE while deserializing session.{code}
> Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-5668
> URL: https://issues.redhat.com/browse/DROOLS-5668
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.43.1.Final
> Reporter: Sylvain Lemoine
> Assignee: Mario Fusco
> Priority: Major
> Attachments: drools-node-memories-serialization.tar.gz
>
>
> 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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (DROOLS-5668) Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories
by Sylvain Lemoine (Jira)
[ https://issues.redhat.com/browse/DROOLS-5668?page=com.atlassian.jira.plug... ]
Sylvain Lemoine updated DROOLS-5668:
------------------------------------
Steps to Reproduce:
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 will should fail with the following result:
Tests in error:
deserializeTest(fr.sle.ReproducerTest): Unknown node type ACCUMULATE while deserializing session.
was:
I provide 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 will should fail with the following result:
Tests in error:
deserializeTest(fr.sle.ReproducerTest): Unknown node type ACCUMULATE while deserializing session.
> Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-5668
> URL: https://issues.redhat.com/browse/DROOLS-5668
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.43.1.Final
> Reporter: Sylvain Lemoine
> Assignee: Mario Fusco
> Priority: Major
> Attachments: drools-node-memories-serialization.tar.gz
>
>
> 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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (DROOLS-5668) Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories
by Sylvain Lemoine (Jira)
[ https://issues.redhat.com/browse/DROOLS-5668?page=com.atlassian.jira.plug... ]
Sylvain Lemoine updated DROOLS-5668:
------------------------------------
Steps to Reproduce:
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.
was:
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 will should fail with the following result:
Tests in error:
deserializeTest(fr.sle.ReproducerTest): Unknown node type ACCUMULATE while deserializing session.
> Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-5668
> URL: https://issues.redhat.com/browse/DROOLS-5668
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.43.1.Final
> Reporter: Sylvain Lemoine
> Assignee: Mario Fusco
> Priority: Major
> Attachments: drools-node-memories-serialization.tar.gz
>
>
> 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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months
[JBoss JIRA] (DROOLS-5668) Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories
by Sylvain Lemoine (Jira)
[ https://issues.redhat.com/browse/DROOLS-5668?page=com.atlassian.jira.plug... ]
Sylvain Lemoine edited comment on DROOLS-5668 at 9/23/20 4:15 PM:
------------------------------------------------------------------
I made a pull request, I don't know how to properly unit test it, unless adding a previously serialized session in 7.0.0.Final (for instance) in test/resources and deserialize it in a test (which I did for my personal testing). Don't know if it's the kind of binary resources you want to add to the source code... let me know or please free to provide me some guidance to properly test it, thanks
was (Author: slem1):
I made a pull request, I don't know how to properly unit test it, unless adding a previously serialized session in 7.0.0.Final (for instance) in test/resources and deserialize it in a test (which I did for my personal testing). Don't know if it's the kind of binary resources you want to add to the source code... let me know or please provide me some guidance to test it, thanks
> Latest drools minor versions broke deserialization from earliest 7.x version due to changes made on the serialization/deserialization of node memories
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-5668
> URL: https://issues.redhat.com/browse/DROOLS-5668
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.43.1.Final
> Reporter: Sylvain Lemoine
> Assignee: Mario Fusco
> Priority: Major
> Attachments: drools-node-memories-serialization.tar.gz
>
>
> 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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 7 months