[rules-users] Rules not firing when facts asserted in a rule RHS in 5.0

2010-12-01 Thread Chris Selwyn
I have been using the open source Drools 5.1 where I have been inserting facts in the RHS of a rule and that has been causing subsequent rules to fire just fine. However, I am working at a customer that requires my to use a supported product, so I have moved my rules over to JBoss Rules 5.0.2

Re: [rules-users] Rules not firing when facts asserted in a rule RHS in 5.0

2010-12-01 Thread Wolfgang Laun
We aren't seeing the code where the insertions happen, but I suppose that's identical to repeats of QuestionValidation qc = new QuestionValidation(); insert( qv ); I'm sure you've also ascertained that the inserted value:QuestionValidation is the very same type (including package) as the

Re: [rules-users] Rules not firing when facts asserted in a rule RHS in 5.0

2010-12-01 Thread Wolfgang Laun
A closer look: On 1 December 2010 11:13, Chris Selwyn ch...@selwyn-family.me.uk wrote: I can see the facts being inserted in the log as follows [#|2010-12-01T09:19:16.723+|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=70;_ThreadName=p: thread-pool-1; w: 7;| OBJECT

Re: [rules-users] Rules not firing when facts asserted in a rule RHS in 5.0

2010-12-01 Thread Chris Selwyn
Yes the package is SWWB2BOutgoing but it looks as though the package name simple doesn't get reported in the log file. I have been debugging through this thing and where I've got to so far is that I am getting two (and maybe more) entries for the class SWWB2BOutgoing.QuestionValidation in the

Re: [rules-users] Rules not firing when facts asserted in a rule RHS in 5.0 - diagnosed with workaround (but not fixed)

2010-12-01 Thread Chris Selwyn
Having spent all day on this one, I have finally got to the bottom of it. The problem is reproducible if I have /both/ a declarative fact model /and/ a function in my rules. It doesn't matter whether the function is called or not... It's presence is enough to cause the problem. Any rule

Re: [rules-users] Rules not firing when facts asserted in a rule RHS in 5.0 - diagnosed with workaround (but not fixed)

2010-12-01 Thread Tihomir Surdilovic
Hi Chris, could you attach the repository export xml from your repo that I can use to reproduce the issue with? BRMS 5.1 (supported bits) is right around the corner and I would be able to tell you if the issue still persists with the currently tested bits for 5.1. Thanks. Tihomir On 12/1/10

Re: [rules-users] Rules not firing when facts asserted in a rule RHS in 5.0 - diagnosed with workaround (but not fixed)

2010-12-01 Thread Chris Selwyn
Having just looked in the Drools JIRA repository, I pretty sure that it is the same issue as was reported in JBRULES-2140 https://jira.jboss.org/browse/JBRULES-2140. That entry has a repro. I am interested as to what you mean by right around the corner? Here is a repro anyway... QUOTE

Re: [rules-users] Rules not firing when facts asserted in a rule RHS in 5.0 - diagnosed with workaround (but not fixed)

2010-12-01 Thread Tihomir Surdilovic
On 12/1/10 5:09 PM, Chris Selwyn wrote: Having just looked in the Drools JIRA repository, I pretty sure that it is the same issue as was reported in JBRULES-2140 https://jira.jboss.org/browse/JBRULES-2140. That entry has a repro. thanks for finding I am interested as to what you mean by

Re: [rules-users] Rules not firing when facts asserted in a rule RHS in 5.0 - diagnosed with workaround (but not fixed)

2010-12-01 Thread Tihomir Surdilovic
On 12/1/10 6:04 PM, Tihomir Surdilovic wrote: On 12/1/10 5:09 PM, Chris Selwyn wrote: Having just looked in the Drools JIRA repository, I pretty sure that it is the same issue as was reported in JBRULES-2140 https://jira.jboss.org/browse/JBRULES-2140. Fix for JBRULES-2140