Re: [rules-users] KieContainer#updateToVersion fails when both versions of a drl file contain an event type declaration for an existing class

2014-07-22 Thread mikedev9000
Mark, thank you for the response. I was able to reproduce this issue with 6.1CR1 and the latest code from the 6.1.x as of this morning. I created a bug ticket for this issue and a pull request containing the unit test I wrote. Ticket: https://issues.jboss.org/browse/DROOLS-560 Pull request:

Re: [rules-users] KieContainer#updateToVersion fails when both versions of a drl file contain an event type declaration for an existing class

2014-07-22 Thread Mario Fusco
Hi Mike, I merged your test case and fixed the bug with this commit https://github.com/droolsjbpm/drools/commit/283ba1d94 Thanks a lot for having reported this problem, Mario -- View this message in context:

[rules-users] KieContainer#updateToVersion fails when both versions of a drl file contain an event type declaration for an existing class

2014-06-18 Thread mikedev9000
I am using the latest drools 6.1.0-SNAPSHOT. I have two jars containing different versions of a KieModule, and they each contain a drl file with an event type declaration for an existing class. If I try to update the container from one version to the other, the call to KieContainer#updateToVersion

Re: [rules-users] KieContainer#updateToVersion fails when both versions of a drl file contain an event type declaration for an existing class

2014-06-18 Thread Mark Proctor
Looks like a bug. Please try on 6.1CR1. http://mvnrepository.com/artifact/org.drools If it’s not fixed, and yo want it fixed you’ll need to submit a pull request with a failing unit test: http://docs.jboss.org/drools/release/5.6.0.Final/droolsjbpm-introduction-docs/html/gettingstarted.html You