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

DMN strongly typed class compile errors for collection types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.42.0.Final
    • 7.40.0.Final
    • dmn engine
    • None

    Description

      If we have an itemDefinition with isCollection="true", it will cause a compile error for InputSet and OutputSet when typesafe is enabled. Note that itemComponent with isCollection="true" works fine.

      DMNRuntimeTypesTest.testCollectionType()

        <semantic:itemDefinition label="tPersonList" name="tPersonList" isCollection="true">
          <semantic:typeRef>tPerson</semantic:typeRef>
        </semantic:itemDefinition>
      

      Consider separating TypeSafe specific tests:
      https://github.com/kiegroup/drools/pull/2993#discussion_r463500865

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: