[jboss-jira] [JBoss JIRA] (DROOLS-3345) Method and function invocation passing a field doesn't work in executable model

Mario Fusco (Jira) issues at jboss.org
Thu Nov 22 09:37:01 EST 2018


     [ https://issues.jboss.org/browse/DROOLS-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco updated DROOLS-3345:
--------------------------------
    Description: 
Using the executable model, trying to invoke a function or static method from a pattern passing a field of the matched class (instead of using an accessor) causes an error message like the following

{code}
Error Messages:
Message [id=1, level=ERROR, path=src/main/java/com/middleware/bzr/ruleset/p2x_acr/r0/Rulese14c4bc3281a47218150a512c4578947RuleMethods0.java, line=160, column=86
   text=cannot find symbol
  symbol:   variable var_S_OPAIR
  location: class com.middleware.bzr.ruleset.p2x_acr.r0.Rulese14c4bc3281a47218150a512c4578947RuleMethods0]
{code}


> Method and function invocation passing a field doesn't work in executable model
> -------------------------------------------------------------------------------
>
>                 Key: DROOLS-3345
>                 URL: https://issues.jboss.org/browse/DROOLS-3345
>             Project: Drools
>          Issue Type: Bug
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>            Priority: Blocker
>
> Using the executable model, trying to invoke a function or static method from a pattern passing a field of the matched class (instead of using an accessor) causes an error message like the following
> {code}
> Error Messages:
> Message [id=1, level=ERROR, path=src/main/java/com/middleware/bzr/ruleset/p2x_acr/r0/Rulese14c4bc3281a47218150a512c4578947RuleMethods0.java, line=160, column=86
>    text=cannot find symbol
>   symbol:   variable var_S_OPAIR
>   location: class com.middleware.bzr.ruleset.p2x_acr.r0.Rulese14c4bc3281a47218150a512c4578947RuleMethods0]
> {code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list