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

[DMN Designer] [BC Included] validation of included BKM invocation

    XMLWordPrintable

Details

    • Release Notes
    • CR1
    • ER1
    • User is not able to invoke BKM from included DMN model.
    • Hide
      1. Import the attached project
      2. Open Traffic Vialotion model
      3. Validate it - error will appear (The expression 'a.b.c.d.Compare' for invocation node 'Should the driver be suspended?' did not resolve during compile time)
      4. Remove Comparison-2
      5. Validate model again
      6. Error will disappear
      Show
      Import the attached project Open Traffic Vialotion model Validate it - error will appear (The expression 'a.b.c.d.Compare' for invocation node 'Should the driver be suspended?' did not resolve during compile time) Remove Comparison-2 Validate model again Error will disappear

    Description

      Issue found during DROOLS-5229 review however it is present also in master.

      The issue is if user tries to invoke a BKM/function from included DMN model and alias of this model contain dots. In such case validation fails.

      The attached Traffic Violation sample was artificially amended to demonstrate the issue. There were added two context entries (Comparison and Comparison-2) in the Should be the driver suspended. Both logically equal.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-jomarko Jozef Marko
              rh-ee-jomarko Jozef Marko
              Barbora Siskova Barbora Siskova
              Barbora Siskova Barbora Siskova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: