[jboss-jira] [JBoss JIRA] (DROOLS-3269) [DMN Designer] Context: Default can be any expression type

Michael Anstis (Jira) issues at jboss.org
Fri Nov 9 07:03:00 EST 2018


    [ https://issues.jboss.org/browse/DROOLS-3269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659443#comment-13659443 ] 

Michael Anstis commented on DROOLS-3269:
----------------------------------------

[~jomarko] OK it makes sense, and the problem is in part that we're setting _everything_ to have a default {{typeRef}} of {{Any}} (well, used to be {{string}}).

I think when https://github.com/kiegroup/kie-wb-common/pull/2256 is merged (with a slight alteration to make the _default_ {{<Undefined>}}) many of these issues will resolve as they'd inherit their type from their parent. IMO I'd like to ask [~dadossan] to amend the foregoing PR to default to {{<Undefined>}} and then re-try these scenarios. 

> [DMN Designer] Context: Default can be any expression type
> ----------------------------------------------------------
>
>                 Key: DROOLS-3269
>                 URL: https://issues.jboss.org/browse/DROOLS-3269
>             Project: Drools
>          Issue Type: Enhancement
>          Components: DMN Editor
>    Affects Versions: 7.14.0.Final
>            Reporter: Michael Anstis
>            Assignee: Michael Anstis
>            Priority: Blocker
>              Labels: drools-tools
>         Attachments: Qclt6jQn.dmn, Screenshot from 2018-11-09 08-16-34.png
>
>
> The "default" box can be any type of expression, specially decision tables and nested contexts.
> Furthermore the "default" box on contexts is optional. We must provide a way for it to be removed. When support for _any_ type of expression we'll be able to have a {{null}} value for the expression so this should fix itself.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list