[jboss-jira] [JBoss JIRA] (DROOLS-3841) [DMN Designer] Included Models - An error is raised when a DMN file with imports is saved

Michael Anstis (Jira) issues at jboss.org
Mon Apr 15 18:51:00 EDT 2019


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

Michael Anstis commented on DROOLS-3841:
----------------------------------------

This is an issue relating to _incremental builds_.

If I create a DMN file that imports another and save it the reported compilation issue is indeed observed.

If however I subsequentially perform a full build it is successful and no errors are evident.

> [DMN Designer] Included Models - An error is raised when a DMN file with imports is saved
> -----------------------------------------------------------------------------------------
>
>                 Key: DROOLS-3841
>                 URL: https://issues.jboss.org/browse/DROOLS-3841
>             Project: Drools
>          Issue Type: Task
>          Components: DMN Editor
>    Affects Versions: 7.20.0.Final
>            Reporter: Guilherme Gomes
>            Assignee: Michael Anstis
>            Priority: Major
>              Labels: drools-tools
>
> An error is raised when a DMN file with imports is saved
> *Steps to reproduce:* Create two empty dmn models (a.dmn, b.dmn). Then in one of them include the other one and click save button of the dmn editor. The following error will appear in the server log.
> *Error:*
> {code}
> 13:32:05,601 ERROR [org.kie.dmn.core.compiler.DMNCompilerImpl] (EJB default - 9) Required import not found: Could not locate required dependency while importing DMN for namespace: https://github.com/kiegroup/drools/kie-dmn/_0C5353A4-0B49-4D1B-A22B-24C60E46F1A7, name: first, modelName: null. for node 'org.kie.dmn.model.v1_2.TImport at 268ce829' 
> {code}



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


More information about the jboss-jira mailing list