[jboss-jira] [JBoss JIRA] (DROOLS-2367) Executable model - Drools context (kcontext) doesn't work when used together with a global
Tibor Zimányi (JIRA)
issues at jboss.org
Thu Mar 8 04:54:00 EST 2018
[ https://issues.jboss.org/browse/DROOLS-2367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Zimányi reopened DROOLS-2367:
-----------------------------------
Found another failing case, reproducer could be found here: https://github.com/baldimir/drools/blob/ac73921612ec90702390f067efba51134125f3cb/drools-model/drools-model-compiler/src/test/java/org/drools/modelcompiler/CompilerTest.java#L1240
> Executable model - Drools context (kcontext) doesn't work when used together with a global
> ------------------------------------------------------------------------------------------
>
> Key: DROOLS-2367
> URL: https://issues.jboss.org/browse/DROOLS-2367
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.6.0.Final
> Reporter: Tibor Zimányi
> Assignee: Luca Molteni
>
> When using kcontext on RHS of a rule together with a global, the consequence lambda is incorrectly generated which leads to this error [1]. This heviour can be reproduced by copypasting this test [2] into CompilerTest class from modelcompiler package.
> [1] https://gist.github.com/baldimir/8b4f494a42a0cbed3e6b191e85774cb4
> [2] https://gist.github.com/baldimir/94ef23595574d7cdcbb500d0e97059ed
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list