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

Error while compiling with the executable model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • executable model
    • None
    • 2020 Week 49-51 (from Nov 30)
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

      See

       

      https://stackoverflow.com/questions/64871827/execution-default-generatemodel-of-goal-org-kiekie-maven-plugin7-44-0-final-re/64902045?noredirect=1#comment114905037_64902045

       

       

      rule "CSE1.001_CCR-00141"
      when
       $elementA : PeriodX(
       )
      $elementB : PeriodX(
       this != $elementA,
       toCheck || $elementA.toCheck
       )
      then
       insert (HelperAction.buildError("CSE1_001_CCR_00141", $elementA, $elementB)); 
      end
      

       

      It seems that $elementA.toCheck is causing the issue. If I toCheck is a boolean field, if I add "$elementA.toCheck==true" it then compiles.

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

              Created:
              Updated:
              Resolved: