[jboss-jira] [JBoss JIRA] (DROOLS-4920) Scenario simulation for DMN with collections throws en error

Yeser Amer (Jira) issues at jboss.org
Mon Jan 27 11:16:27 EST 2020


    [ https://issues.redhat.com/browse/DROOLS-4920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957524#comment-13957524 ] 

Yeser Amer commented on DROOLS-4920:
------------------------------------

[~danielezonca] To solve it, we need to evaluate how to modify (or remove) this statement in DMNScenarioValidation:85

{code:java}
// error if direct mapping (= simple type) but it is a composite
            // NOTE: context is a special case so it is composite even if no fields are declared
            Type rootType = getRootType((BaseDMNTypeImpl) rootDMNType);
            if (!CONTEXT.equals(rootType) && steps.isEmpty() && rootDMNType.isComposite()) {
{code}


> Scenario simulation for DMN with collections throws en error
> ------------------------------------------------------------
>
>                 Key: DROOLS-4920
>                 URL: https://issues.redhat.com/browse/DROOLS-4920
>             Project: Drools
>          Issue Type: Bug
>          Components: Scenario Simulation and Testing
>    Affects Versions: 7.31.0.Final
>            Reporter: Jozef Marko
>            Assignee: Yeser Amer
>            Priority: Major
>              Labels: drools-tools
>         Attachments: Screenshot from 2020-01-08 14-14-05.png, urgent.dmn
>
>
> If a user tries  to create a test scenario for  [^urgent.dmn] he will get a [1] even when he is creating test scenario for the first time.
> [1]
> !Screenshot from 2020-01-08 14-14-05.png|thumbnail!
> h3. Acceptance criteria
> https://github.com/jboss-integration/bxms-qe-tests/pull/3048



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


More information about the jboss-jira mailing list