[jboss-jira] [JBoss JIRA] (DROOLS-2327) Exec model: Generator adds 2 reactOn parameters to binding, which don't compile

Tibor Zimányi (JIRA) issues at jboss.org
Fri Feb 16 03:26:02 EST 2018


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

Tibor Zimányi updated DROOLS-2327:
----------------------------------
    Description: 
When having a test like this [1], the model compilation fails, because the model for the rule is generated with a binding on which reacOn with 2 parameters is called [2]. 

To reproduce the problem, just paste the linked test case into InTest test class from drools-model-compiler module. 

[1] https://gist.github.com/baldimir/38586f1542e69f7127d94c1f20d55589
[2] https://gist.github.com/baldimir/01a5adace56af7379d8c5578cd62e790

  was:
When having a test like this [1], the model compilation fails, because the model for the rule is generated with a binding on which reacOn with 2 parameters is called [2]. 

[1] https://gist.github.com/baldimir/38586f1542e69f7127d94c1f20d55589
[2] https://gist.github.com/baldimir/01a5adace56af7379d8c5578cd62e790



> Exec model: Generator adds 2 reactOn parameters to binding, which don't compile
> -------------------------------------------------------------------------------
>
>                 Key: DROOLS-2327
>                 URL: https://issues.jboss.org/browse/DROOLS-2327
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 7.6.0.Final
>            Reporter: Tibor Zimányi
>            Assignee: Mario Fusco
>
> When having a test like this [1], the model compilation fails, because the model for the rule is generated with a binding on which reacOn with 2 parameters is called [2]. 
> To reproduce the problem, just paste the linked test case into InTest test class from drools-model-compiler module. 
> [1] https://gist.github.com/baldimir/38586f1542e69f7127d94c1f20d55589
> [2] https://gist.github.com/baldimir/01a5adace56af7379d8c5578cd62e790



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list