]
Douglas Palmer updated JBIDE-12212:
-----------------------------------
Fix Version/s: 3.3.0.CR2-SOA
Bugzilla References:
Wrong/No completion for bind variable in Drools Rule Editor
-----------------------------------------------------------
Key: JBIDE-12212
URL:
https://issues.jboss.org/browse/JBIDE-12212
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: drools
Affects Versions: 3.3.0.Beta3-SOA
Environment: JBDS500beta2
http://www.qa.jboss.com/binaries/RHDS/updates/development/5.0.0.Beta3.soa...
Reporter: Toshiya Kobayashi
Assignee: Kris Verlaenen
Fix For: 3.3.0.CR2-SOA
Attachments: DroolsEx01_code_completion.zip
A. Rule Editor raises a wrong completion list, which includes drools keywords, for a bind
variable in LHS.
{code:java}
rule "Wrong completion for bind valiable in LHS"
when
$p : Person( name != "John")
eval($p.)
then
end
{code}
Click ctrl+space after '$p.' -> the popup completion list includes
'and' 'eval' ...
B. Rule Editor doesn't raise a completion list for a bind variable in RHS.
{code:java}
rule "No completion for bind valiable in RHS"
when
$p : Person( name != "John")
then
$p.
end
{code}
Click ctrl+space after '$p.' -> no popup
In the attached example project, Sample03.drl is for A. Sample04.drl is for B. (please
ignore Sample01/02)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: