[jboss-jira] [JBoss JIRA] (DROOLS-2941) [DMN Designer] - save external dmn model
Michael Anstis (JIRA)
issues at jboss.org
Fri Aug 31 11:45:01 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627315#comment-13627315 ]
Michael Anstis commented on DROOLS-2941:
----------------------------------------
[~manstis] See https://github.com/kiegroup/kie-wb-common/pull/2079#issuecomment-417680492
{{DMNElements}} currently have _default_ values of child {{DMNElements}} set to non-null instances. This now causes problems as we have Errai's marshallers call the setters (instead of using the {{@MapsTo}} constructors) the marshallers ARE NOT calling {{setXYZ(value)}} when {{value == null}}. The fix is to remove the instantiation of default objects for {{DMNElements}} and use {{null}} instead. This will account for many of the valorized objects reported by [~tari_manga].
> [DMN Designer] - save external dmn model
> ----------------------------------------
>
> Key: DROOLS-2941
> URL: https://issues.jboss.org/browse/DROOLS-2941
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.11.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Labels: drools-tools
> Attachments: LACE Scoring.dmn, error.log, lace-scoring.dmn
>
>
> Save of an external dmn model in workbench throws an error in a server log.
> - Before save: [^LACE Scoring.dmn]
> - After save: [^lace-scoring.dmn]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list