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

InputData name with 2 spaces causes "invoke" to fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 7.67.0.Final, 8.32.0.Final
    • dmn engine
    • None
    • NEW
    • NEW
    • ---
    • ---

      See attached project zip which shows the issue.

      • TestCorrect.java shows desired behavior: Decision2 has result "true"
      • TestFails.java shows incorrect behavior, error message:

      DMN: Errors occurred while invoking the external decision: [Message [id=0, level=ERROR, path=source0.dmn, line=4, column=-1 text=DMN: Required dependency 'Two Spaces' not found on node 'Decision1' (DMN id: Decision1, The referenced node was not found) ]] (FEEL expression evaluation error)

      The only difference is the input name in the first DMN. It's "One Space" for the correct and "Two Spaces" for the incorrect case. (Notice the two spaces between "Two" and "Spaces".)

      The 2.dmn file does an "invoke" call to 1-correct.dmn or 1-fail.dmn. Passing the context seems to be broken for inputs with names which contains two spaces.

            tzimanyi@redhat.com Tibor Zimányi
            wouter.rijkswaterstaat Wouter Rijkswaterstaat (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: