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

   During unrelated debug, it turned out that importing decision with same name 
from different -> named <- imports does not work.
   
   E.g.
   
   ```
   Model A                                                       Model B
   Decision -> Evaluating                                Decision -> Evaluating
         \                                                                /
          \                                                              /
                                 Model C
                                 import Model A as model_a
                                 import Model B as model_b
                                 Decision -> Overall Evaluation depends on 
model_a.Evaluating and model_b.Evaluating
   
   ```
   Suspicious code is 
   [DMNBaseNode#addDependncy(String, 
DMNNode)](https://github.com/apache/incubator-kie-drools/blob/bf68c4c76b67cb3459f0a2e30a700dc4be834dae/kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/ast/DMNBaseNode.java#L114)
   
   During debugging, the given name (used as key in the dependencies map) is 
not prefixed with the imported model name, so in case of name overlap, the last 
one overwrite the previous one.
   
   @baldimir  @yesamer
   
   
   


-- 
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