Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6034

Unable to build project inserting and updating a fact of same rule running with an executable model

    XMLWordPrintable

Details

    • 2021 Week 07-09 (from Feb 15)
    • Hide

      To replicate issue try to build attached project with ' mvn clean package -DgenerateModel=YES' command.  Issue is reproducible  with 7.44.0.Final-redhat-00006 and 7.49.Final version as well.

      Show
      To replicate issue try to build attached project with ' mvn clean package -DgenerateModel=YES' command.  Issue is reproducible  with 7.44.0.Final-redhat-00006 and 7.49.Final version as well.
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

    Description

      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]
      ~~~
       

      Attachments

        Issue Links

          Activity

            People

              lmolteni@redhat.com Luca Molteni
              lmolteni@redhat.com Luca Molteni
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: