]
Jozef Marko updated DROOLS-6034:
--------------------------------
Tester: Daniel Rosa (was: Jozef Marko)
Unable to build project inserting and updating a fact of same rule
running with an executable model
---------------------------------------------------------------------------------------------------
Key: DROOLS-6034
URL:
https://issues.redhat.com/browse/DROOLS-6034
Project: Drools
Issue Type: Bug
Components: executable model
Reporter: Luca Molteni
Assignee: Luca Molteni
Priority: Major
Attachments: RuleIssue_02864136.zip, pom.xml
Customer has rule which look like as:
~~~
rule "Testrule"
dialect "mvel"
when
then
com.Employee e = new Employee();
e.setId("1");
insert( e );
e.setName("abc");
update( e );
end
~~~
If we try to build project it fails with below exception:
~~~
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.kie:kie-maven-plugin:7.44.0.Final-redhat-00003:generateModel (default-generateModel)
on project RuleIssue_02864136: Execution default-generateModel of goal
org.kie:kie-maven-plugin:7.44.0.Final-redhat-00003:generateModel failed.: RuntimeException
-> [Help 1]
[ERROR]
~~~