[rules-users] Guvnor: rule fire counts don't match when running modified test scenario

Scott Mayne smayne at webfinancialsolutions.com
Mon Sep 27 10:53:36 EDT 2010


Hi David,

I saw your issue and I'm noticing the same behavior with regards to saving changes to
my test scenario. However, I see the count disconnect even after I get changes to save
correctly, close the test scenario tab, reopen it, and then run it again.

My sense is this is a separate issue (something being cached or not updated), but I'll 
defer to those with greater knowledge of the code as to whether this is the same as 636.

And to Jervis, I'm using the 5.1 version (released Aug. 2) provided on the main Drools downloads page.

--- On Mon, 9/27/10, David Shields <david.shields at duke.edu> wrote:

From: David Shields <david.shields at duke.edu>
Subject: Re: [rules-users] Guvnor: rule fire counts don't match when running modified test scenario
To: "Rules Users List" <rules-users at lists.jboss.org>
Date: Monday, September 27, 2010, 2:46 AM



I get exactly the same behavior, running
on 4 different machines, and I think it is the same bug that I reported
last week on Drools version 5.1.1.  See the screen shot attached to
this JIRA, and add your comments to it...



https://jira.jboss.org/browse/GUVNOR-636





--------------------------------------------------

David Shields

Division of Clinical Informatics

Department of Community and Family Medicine

Duke University Medical Center



Phone (864) 787-8551












Jervis Liu <jliu at redhat.com>


Sent by: rules-users-bounces at lists.jboss.org
09/25/2010 01:46 AM



Please respond to

Rules Users List <rules-users at lists.jboss.org>






To
Rules Users List <rules-users at lists.jboss.org>


cc




Subject
Re: [rules-users] Guvnor: rule fire
counts don't match when running modified test scenario















Hi, what version of Guvnor are you using? This definitely
looks like a 

bug, please file a jira for this please.



Thanks,

Jervis



Scott Mayne wrote:

> I'm still going through Paul Browne's "JBoss Drools Business
Rules" 

> and am using test scenarios now.

>

> What I've noticed is the activation counts displayed on different


> parts of the screen don't match. As per the book, I originally had
a 

> value for "sales" that would fire the rule 11 times, then
changed the 

> rule to have "no-loop true". Re-running the test gives the
correct 1 

> activation at the top, but in 2 other places the old 11 count is still


> displayed.

>

> I also noticed this behavior when changing the test scenario value
of 

> "sales" - for example, I'd start with a value that would
fire 3 times, 

> then change it to one that would fire 11 times. In the second case,
11 

> would correctly show at the top, but 3 would incorrectly display in
2 

> places lower down.

>

>

> ------------------------------------------------------------------------

>

> ------------------------------------------------------------------------

>

> _______________________________________________

> rules-users mailing list

> rules-users at lists.jboss.org

> https://lists.jboss.org/mailman/listinfo/rules-users

>   



_______________________________________________

rules-users mailing list

rules-users at lists.jboss.org

https://lists.jboss.org/mailman/listinfo/rules-users




-----Inline Attachment Follows-----

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100927/841e4cbf/attachment.html 


More information about the rules-users mailing list