[
https://issues.redhat.com/browse/DROOLS-5538?page=com.atlassian.jira.plug...
]
Toshiya Kobayashi updated DROOLS-5538:
--------------------------------------
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()
{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
was:
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}
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)