Kusuma04-dev opened a new issue, #2064:
URL: https://github.com/apache/incubator-kie-issues/issues/2064

   It appears possible to have two input nodes with the same name but from 
different models when using the default namespace. For example: * dmn-a:
   
   a input → a decision
   dmn-a2 (includes dmn-a via default namespace):
   a input → a decision2
   a decision → a decision2
   Although this setup is unusual, it’s technically allowed due to the use of 
default namespace imports. However, the engine currently returns the following 
error:
   
   REQ_NOT_FOUND: Required input '_0D2BA05B-1392-455A-865B-F02BAC981EB9' not 
found on node 'a decision'
   
   This message is misleading, as it suggests the setup is valid but fails due 
to a missing input. If having two input data nodes with the same name (but 
different IDs) is supported, what exactly does the engine expect in this case? 
If it’s not supported, then the error message should be improved to clearly 
indicate that this configuration is invalid.Example of request:
    
   curl -X POST http://localhost:21345/jitdmn/dmnresult \ -H "Content-Type: 
application/json" \ -d '{ "context":
   
   { "a input": 21 }
   , "mainURI": "dmn-a2.dmn", "resources": [ { "content": "dmn-a2 content", 
"URI": "dmn-a2.dmn" }, { "content": "dmn-a content", "URI": "dmn-a.dmn"} ]
   [two-input-data-same-name 
(1).zip](https://jsw.ibm.com/secure/attachment/10766709/10766709_two-input-data-same-name+%281%29.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