Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12212

Wrong/No completion for bind variable in Drools Rule Editor

XMLWordPrintable

      A. Rule Editor raises a wrong completion list, which includes drools keywords, for a bind variable in LHS.

      rule "Wrong completion for bind valiable in LHS"
      when
      	$p : Person( name != "John") 
      	eval($p.)
      then
      	
      end
      

      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.

      rule "No completion for bind valiable in RHS"
      when
      	$p : Person( name != "John") 
      then
      	$p.
      end
      

      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)

              kverlaen@redhat.com Kris Verlaenen
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: