[JBoss JIRA] (DROOLS-3605) Invalid DMN file after migration 1.1 -> 1.2
by Matteo Mortari (Jira)
[ https://issues.jboss.org/browse/DROOLS-3605?page=com.atlassian.jira.plugi... ]
Matteo Mortari commented on DROOLS-3605:
----------------------------------------
I investigated this a bit further, and I _believe_ the recent introductions of ConstraintType is the culprit as making direct use of the `kie` prefix assuming is mapped to the internal namespace of "http://www.drools.org/kie/dmn/1.2"; although I'm still not 100% sure how does it get mapped while marshalled in the root Definitions node namespace map.
> Invalid DMN file after migration 1.1 -> 1.2
> -------------------------------------------
>
> Key: DROOLS-3605
> URL: https://issues.jboss.org/browse/DROOLS-3605
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Daniele Zonca
> Assignee: Michael Anstis
> Priority: Major
> Attachments: dmn-daniele_after.dmn, dmn-daniele_before.dmn
>
>
> `dmn-daniele_before.dmn` is a simple 1.1 DMN file. After migration (`dmn-daniele_after.dmn`) DMN model compilation fails with this error
> [KBase: defaultKieBase]: DMN: Unable to resolve type reference 'kie.tSalary' on node 'Yearly Salary' (resource: com/dmn-daniele.dmn, DMN id: _8B521A18-C356-44D4-BEF0-123676DEDEE0, The listed type definition was not found)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 11 months