Bug 724215 (BRMS-158)

Summary: Code completion in DSL in when-part does not work properly anymore
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: nwallace <nwallace>
Component: unspecifiedAssignee: Kris Verlaenen <kris.verlaenen>
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-158
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Eclipse 3.4, JRE 6u10, WinXP
Last Closed: 2009-09-01 12:19:54 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:17:41 UTC
Date of First Response: 2009-09-10 00:48:26
securitylevel_name: Public

When using the Code completion in an DSL-File-Editor in the when-part the completion does not work properly anymore.
It only shows up if you hit ALT-Space and have no character entered, so you can see the full list of "commands". But it's not possible to restrict that list using the beginning of a phrase.

In the then-part everything works find.

And it already worked in "when" using Drools 4.0.7 with Eclipse 3.3.

Comment 1 nwallace 2009-07-07 13:19:10 UTC
Link: Added: This issue is related to JBRULES-1959


Comment 2 nwallace 2009-09-01 12:19:54 UTC
Fix in place.

Comment 3 David Le Sage 2009-09-10 04:48:26 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)
 * Eclipse's code-completion functionality was broken. 

CONSEQUENCES of the bug (how it impacts users.)
 * If a user was entering the "when" portion of a DSL script, the syntax would not be automatically completed.


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

RESULTS of the fix (what now happens for users.)
 * The error no longer occurs???


Comment 4 David Le Sage 2009-09-23 05:32:28 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 Kris Verlaenen 2009-09-23 12:55:27 UTC
The CAUSE (what was actually broken)
 * Eclipse's code-completion functionality was broken for partial DSL sentences

CONSEQUENCES of the bug (how it impacts users.)
 * If a user was entering the "when" portion of a DSL script, the syntax would not be automatically completed.

The FIX (what was changed to eliminate this bug) and
 * The already entered text has been taken into account as well

RESULTS of the fix (what now happens for users.)
 * Code completion for partial sentences now also works