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
    • Resolution: Done
    • Major
    • 7.10.1.GA
    • 7.9.0.GA, 7.9.1.GA
    • BRE
    • None
      • Red Hat Decision Manager
        • 7.9.0
    • False
    • False
    • Release Notes
    • +
    • Undefined
    • 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.
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: