danielzhe commented on PR #2508: URL: https://github.com/apache/incubator-kie-tools/pull/2508#issuecomment-2305653986
I've found another related to the test that @ljmotta did: 1. Insert a local Decision Service with an "Included Decision-X" 2. Insert an included Decision Service that encapsulated the "Included Decision-X" 3. You'll get the same odd behavior that Luiz found. https://github.com/user-attachments/assets/e80023f2-3205-473c-bb90-9ad1820ebe33 The both issues are related and it starts in the `[computeContainingDecisionServiceHrefsByDecisionHrefs](https://github.com/apache/incubator-kie-tools/blob/main/packages/dmn-editor/src/store/computed/computeContainingDecisionServiceHrefsByDecisionHrefs.ts.ts)` When we insert an external Decision Service, the `decisionServiceHrefsByDecisionHrefs` we return from `computeContainingDecisionServiceHrefsByDecisionHrefs` the map is built with the wrong href for local nodes: we're adding the external namespace URI for local nodes, when we shouldn't. -- 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]
