Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 7.8.0.GA
    • Fix Version/s: 7.8.0.GA
    • Component/s: DMN
    • Labels:
      None
    • Environment:

      jdk=ibm1.8

    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      It is possible to reproduce it locally:

      • checkout https://github.com/kiegroup/drools [master]
      • set the project SDK on the IDE to ibm1.8.
      • run¬†testImportNoAddtnAttribute() on org.kie.dmn.validation.ValidatorImportTest
      • AssertionError
      Show
      It is possible to reproduce it locally: checkout https://github.com/kiegroup/drools [master] set the project SDK on the IDE to ibm1.8. run testImportNoAddtnAttribute() on org.kie.dmn.validation.ValidatorImportTest AssertionError
    • Story Points:
      3
    • Sprint:
      2020 Week 25-27 (from Jun 15)
    • QE Test Coverage:
      -

      Description

      Some tests from org.kie.dmn.validation package are failing on nightly jobs [1]. If you are not on VPN, there is a gist for test results [2].

      They return "No DMNDiagramElement is associated with the element" warning message causing an AssertionError. The tests expect 0 messages.

      Failing tests on classes:

      • org.kie.dmn.validation.ValidatorDMNDITest
      • org.kie.dmn.validation.ValidatorImportTest
      • org.kie.dmn.validation.ValidatorTest

       e.g. org.kie.dmn.validation.ValidatorImportTest is as following:

      When run testImportNoAddtnAttribute() the result is:

      • java.lang.AssertionError: Message [id=0, level=WARNING, path=null, line=-1, column=-1 text=DMN: Missing DMNShape for 'Decision-1' (DMN id: _1361F7E7-846E-408D-B1AB-D4F7D4BD247F, No DMNDiagramElement is associated with the element) ]
      • Message [id=0, level=WARNING, path=null, line=-1, column=-1 text=DMN: Missing DMNShape for 'aaa' (DMN id: _E54727B7-BC41-4499-8652-53221E62BAD4, No DMNDiagramElement is associated with the element) ]
      • Message [id=0, level=WARNING, path=null, line=-1, column=-1 text=DMN: Missing DMNEdge for '_3FAE4777-A801-4216-BC21-0A13D5E16F43' (DMN id: _3FAE4777-A801-4216-BC21-0A13D5E16F43, No DMNDiagramElement is associated with the element) ]
      • Expected: is <0> but: was <3>

      It started to fail after DROOLS-4562 (DMN validation semantic rules for DMNDI) commit [3].

      Links:

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tkobayashi Toshiya Kobayashi
                Reporter:
                drosabrno Daniel Rosa
                Tester:
                Daniel Rosa
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: