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

[DMN Designer] DMN 1.1 model can not be fixed to proper DMN 1.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.10.0.GA
    • 7.10.0.GA
    • Decision Central
    • None
    • False
    • False
    • CR1
    • CR2
    • +
    • Undefined
    • Workaround Exists
    • Hide

      To get rid of errors: "Required dependency 'XXX' on node 'XXX' does not match the node type" you have to remove all existing connections and then recreate them like shown in workaround.webm. User needs to repeatedly:

      • open DMN model
      • remove all existing connections
      • save and reopen
      • if still connections appear, remove them, if not, start with recreating
      Show
      To get rid of errors: "Required dependency 'XXX' on node 'XXX' does not match the node type" you have to remove all existing connections and then recreate them like shown in workaround.webm . User needs to repeatedly: open DMN model remove all existing connections save and reopen if still connections appear, remove them, if not, start with recreating
    • Hide
      Show
      Run decision central Open My Space Create new empty project Follow steps from the video steps-to-reproduce.webm

    Description

      The Vacation Day Count - Solution 1.dmn is an DMN 1.1 model downloaded from an external tool.

      After opening Vacation Day Count - Solution 1.dmn in decision central, there are missing connections:

      • Age -> Three extra days rule
      • Age -> Two extra days rule
      • Years of service -> Three extra days rule
      • Years of service -> Two extra days rule

      Next, nodes data types shown in properties are:

      • Age: Nothing Selected
      • Years of service: Nothing selected
      • Five extra days rule: <Undefined>
      • Three extra days rule: <Undefined>
      • Two extra days rule: <Undefined>
      • Number of vacation: <Undefined>

      All decision tables have their input columns set to type: feel:number
      All decision tables have their output columns set to type: <Undefined>

      Even after changing all data types to 'number' and adding missing connections, there are still errors in the form:

      Required dependency '_e1e247a4-6e54-4e72-93b6-78ae8606b44d' on node '_e1e247a4-6e54-4e72-93b6-78ae8606b44d' does not match the node type
      

      Vacation Day Count - Solution 1 - dmn13.dmn is DMN 1.3 version of Vacation Day Count - Solution 1.dmn downloaded from the same tool. If this is opened in the decision central:

      • All connections are present
      • All nodes have valid DMN built in data type set
      • All decision tables have all columns set to valid DMN built in data type
      • There is no validation error shown, just warnings about decision table hit policies and possible gaps

      Expected behavior

      User should be able, even semi manually, to fix Vacation Day Count - Solution 1.dmn validation errors

      Attachments

        1. steps-to-reproduce.webm
          9.96 MB
        2. Vacation Day Count - Solution 1.dmn
          19 kB
        3. Vacation Day Count - Solution 1 - dmn13.dmn
          32 kB
        4. workaround_2.mov
          25.24 MB
        5. workaround.webm
          8.68 MB

        Issue Links

          Activity

            People

              karreiro_ Guilherme Gomes (Inactive)
              rh-ee-jomarko Jozef Marko
              Jozef Marko Jozef Marko
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: