Red Hat Bugzilla – Bug 1031618
Wrong code completion for query
Last modified: 2016-01-08 17:21:01 EST
Description of problem:
When content assist is invoked in query, it gives wrong possibilities (rule attributes like salience, when, then).
Version-Release number of selected component (if applicable):
JBoss Drools Core 184.108.40.206308222359
droolsjbpm-tools 6.x branch (2013-11-18)
Steps to Reproduce:
1. create new DRL resource
2. create a query
3. ask for content assist
[activation-group, agenda-group, auto-focus, date-effective, date-expires, dialect "java", dialect "mvel", duration, enabled, lock-on-active, no-loop, ruleflow-group, salience, when]
Facts that can be used.
Please note that this has been reproduced using query definition offered by content assist earlier i.e.
query "query name"
However using brackets after query name (without quotes) with or without parameters, gives expected output.
The fix might be to fix the example query to something like: