[
https://issues.jboss.org/browse/JBIDE-12212?page=com.atlassian.jira.plugi...
]
RH Bugzilla Integration commented on JBIDE-12212:
-------------------------------------------------
Suz <sdorfiel(a)redhat.com> made a comment on [bug
833329|https://bugzilla.redhat.com/show_bug.cgi?id=833329]
Technical note added. If any revisions are required, please edit the "Technical
Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services
team.
New Contents:
There were problems concerning the completion for bind variables in the Drools Rule
Editor. When attempting to use this feature, users would find that the completion was
either incorrect or missing. This problem has now been addressed. As a result, the
completion occurs as expected.
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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira