Bug 724220 (BRMS-163)

Summary: Using the "from" syntax in the when clause when running the "Drools Application" in debug mode takes longer than normal.
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: nwallace <nwallace>
Component: unspecifiedAssignee: Mark Proctor <mark.proctor>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: unspecified   
Target Milestone: ---   
Target Release: 5.0.1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-163
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-01 12:22:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description nwallace 2009-07-07 13:55:02 UTC
Date of First Response: 2009-09-10 00:59:46
securitylevel_name: Public

Just adding "t : Object() from m.getClass" to the drools project created by eclipse causes "builder.addPackageFromDrl( source );" to take about 48 seconds. if the from clause is not there it takes about 4 seconds.

Comment 1 nwallace 2009-07-07 13:56:41 UTC
Link: Added: This issue is related to JBRULES-2005


Comment 2 nwallace 2009-09-01 12:22:14 UTC
Fix in place.

Comment 3 David Le Sage 2009-09-10 04:59:46 UTC
For documenting this in the Release Notes, can you please confirm the following and fill in the missing information. Dot point explanations are fine:

The CAUSE (what was actually broken)
 * 

CONSEQUENCES of the bug (how it impacts users.)
 * Using the "from" command in the "when" clause whilst running Drools in Debug Mode dramatically slowed processing.

The FIX (what was changed to eliminate this bug) and 
 *

RESULTS of the fix (what now happens for users.)
 * It now functions at normal speed.

Comment 4 David Le Sage 2009-09-23 05:34:30 UTC
We are still awaiting the outstanding information for the Release Notes on this one.  Please provide it as soon as possible. Thanks.

Comment 5 Dana Mison 2009-10-05 06:03:47 UTC
added to the 5.0.CP01 release notes as resolved:

JBRULES-2005
Using the "from" command in the "when" clause whilst running in Debug Mode dramatically slowed processing. It now functions at normal speed.