]
Abhijit Humbe updated DROOLS-6029:
----------------------------------
Affects Version/s: 7.49.0.Final
Unable to build project inserting and updating a fact of same rule
running with an executable model
---------------------------------------------------------------------------------------------------
Key: DROOLS-6029
URL:
https://issues.redhat.com/browse/DROOLS-6029
Project: Drools
Issue Type: Bug
Components: core engine, executable model
Affects Versions: 7.49.0.Final
Reporter: Abhijit Humbe
Assignee: Toni Rikkola
Priority: Major
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]
~~~