]
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-24C60..., name:
first, modelName: null. for node 'org.kie.dmn.model.v1_2.TImport@268ce829'
{code}