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

Decision table validation produces runtime exception in Business Central

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 7.34.0.Final
    • dmn engine
    • None
    • 2020 Week 16-18 (from Apr 13)
    • 1
      1. In Business Central, create a new project
      2. Import the attached dmn model
      3. Choose to validate the model
    • NEW
    • NEW

      In Business Central's DMN Modeler, a decision table with "Unique" Hit policy and overlapping rules, when placed into a context, produces a Runtime Exception on validate. Error Message is: "[uuid] DMN: Validation of the DMN Model cannot be performed because of some runtime exception 'org.kie.dmn.model.v1_2.TContextEntry cannot be cast to org.kie.dmn.model.api.NamedElement'. (DMN Validation stopped on failed validation for some DMN Model)"

      We expected to see 'DMN: Overlap detected: Overlap values: [...] for rules: [...]. UNIQUE hit policy decision tables can only have one matching rule' among the validation errors, and in fact this error is displayed when the decision table is not nested within a context.

              mmortari@redhat.com Matteo Mortari
              tracyhires Tracy Hires (Inactive)
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: