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

Executable model - Drools context (kcontext) doesn't work when used together with a global

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.7.0.Final
    • 7.6.0.Final
    • core engine
    • None
    • NEW
    • NEW

      When using kcontext on RHS of a rule together with a global, the consequence lambda is incorrectly generated which leads to this error [1]. This heviour can be reproduced by copypasting this test [2] into CompilerTest class from modelcompiler package.

      [1] https://gist.github.com/baldimir/8b4f494a42a0cbed3e6b191e85774cb4
      [2] https://gist.github.com/baldimir/94ef23595574d7cdcbb500d0e97059ed

              lmolteni@redhat.com Luca Molteni
              tzimanyi@redhat.com Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: