[jboss-jira] [JBoss JIRA] (DROOLS-5538) DMN strongly typed class compile errors for collection types

Toshiya Kobayashi (Jira) issues at jboss.org
Mon Aug 3 02:02:00 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Toshiya Kobayashi updated DROOLS-5538:
--------------------------------------
    Sprint: 2020 Week 31-33 (from Jul 27)


> DMN strongly typed class compile errors for collection types
> ------------------------------------------------------------
>
>                 Key: DROOLS-5538
>                 URL: https://issues.redhat.com/browse/DROOLS-5538
>             Project: Drools
>          Issue Type: Bug
>          Components: dmn engine
>    Affects Versions: 7.40.0.Final
>            Reporter: Toshiya Kobayashi
>            Assignee: Toshiya Kobayashi
>            Priority: Major
>
> 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()
> {code:xml}
>   <semantic:itemDefinition label="tPersonList" name="tPersonList" isCollection="true">
>     <semantic:typeRef>tPerson</semantic:typeRef>
>   </semantic:itemDefinition>
> {code}
> Consider separating TypeSafe specific tests:
> https://github.com/kiegroup/drools/pull/2993#discussion_r463500865



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list