Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1606

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

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Major
    • Resolution: Done
    • 7.9.0.GA, 7.9.1.GA
    • 7.10.1.GA
    • BRE
    • None
      • Red Hat Decision Manager
        • 7.9.0
    • 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.
    • Release Notes
    • 2021 Week 07-09 (from Feb 15)
    • +

    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

        1. pom.xml
          4 kB
        2. RuleIssue_02864136.zip
          38 kB

        Issue Links

          Activity

            People

              lmolteni@redhat.com Luca Molteni
              rhn-support-luzrodri Luz Rodriguez (Inactive)
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: