[jbosstools-issues] [JBoss JIRA] (JBIDE-12210) Wrong/No completion for the second field constraint in Drools Rule Editor

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Oct 15 13:26:49 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-12210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012253#comment-13012253 ] 

RH Bugzilla Integration commented on JBIDE-12210:
-------------------------------------------------

Douglas Palmer <dpalmer at redhat.com> changed the Status of [bug 833323|https://bugzilla.redhat.com/show_bug.cgi?id=833323] from VERIFIED to CLOSED

> Wrong/No completion for the second field constraint in Drools Rule Editor
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-12210
>                 URL: https://issues.jboss.org/browse/JBIDE-12210
>             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-tooling/
>            Reporter: Toshiya Kobayashi
>            Assignee: Kris Verlaenen
>             Fix For: 3.3.0.CR2-SOA
>
>         Attachments: DroolsEx01_code_completion.zip
>
>
> A. Rule Editor doesn't raise a completion list for the second field constraint.
> {code:java}
> rule "No completion for second constraint"
> when
> 	Person( name != "John", ) 
> then
> 	
> end
> {code}
> Click ctrl+space after ',' -> no popup
> B. Rule Editor raises a wrong completion list, which indicates fields of a preceded fact, for the second field constraint.
> {code:java}
> rule "wrong completion for second constraint in case it has preceded fact"
> when
> 	Cheese( type == "cream" )
> 	Person( name != "John", ) 
> then
> 	
> end
> {code}
> Click ctrl+space after ',' -> the popup completion list includes Cheese's fields like 'type', not Person's fields.
> In the attached example project, Sample01.drl is for A. Sample02.drl is for B. (please ignore Sample03/04)



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list