yesamer opened a new issue, #2052:
URL: https://github.com/apache/incubator-kie-issues/issues/2052

   It seems a Decision Service doesn't correctly manage an imported element 
from an unnamed model.
   
   <img width="781" height="563" alt="Image" 
src="https://github.com/user-attachments/assets/4b85af37-4fbf-44ce-9d1d-55387669351e";
 />
   
   In this scenario, an error is thrown:
   
   `IMPORT_NOT_FOUND: Required import not found: 
{[https://kie.org/dmn/_420326F7-3ECC-40FA-9E5B-64186F028144}DMN_928E1EA0-C443-4A77-BAB7-1850538DF803](https://kie.org/dmn/_420326F7-3ECC-40FA-9E5B-64186F028144%7DDMN_928E1EA0-C443-4A77-BAB7-1850538DF803)
 for node 'org.kie.dmn.model.v1_5.TInputData@1fd95e25'; missing DMN Import name 
alias.`
   
   After a quick check, it seems the current code doesn't handle the case of an 
element imported by an unnamed model
   
   
https://github.com/apache/incubator-kie-drools/blob/main/kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/compiler/DecisionServiceCompiler.java#L106
   
   
[decision-service.zip](https://github.com/user-attachments/files/21598212/decision-service.zip)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to