You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "Kusuma04-dev (via GitHub)" <gi...@apache.org> on 2025/08/19 07:06:31 UTC

[I] Decision Engine: Decision Services doesn't work If the import name and the inputName is same [incubator-kie-issues]

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

   Scenario: If the import name and the inputName is same then i am getting below error.
   
   Request:
   
   `"context": { "My Input": "1", "A": { "A": 1 } },`
   
   Response:
   {
   "details": "Error id ee96cda2-4faa-4159-a98b-cbfd24101d03-5, org.jboss.resteasy.spi.UnhandledException: java.lang.StackOverflowError",
   }.  
   
   Attaching dmn here: please check MyDmn-0 in the below zip file.
   
   [IncludedDMNs (3).zip](https://github.com/user-attachments/files/21850196/IncludedDMNs.3.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: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Decision Engine: Decision Services doesn't work If the import name and the inputName is same [incubator-kie-issues]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on issue #2065:
URL: https://github.com/apache/incubator-kie-issues/issues/2065#issuecomment-3204599900

   @Kusuma04-dev @baldimir @yesamer @tiagobento
   
   On further investigation, and after creating/running some specific test in our engine, I have to change my previous assertion: the above restriction seems to apply only when both the "import" and the "inputdata" with clashing names are in the same model.
   But if the input data is defined in the imported model, it seems to be valid.
   This is going to be problematic to nicely fix, given the [recent modifications](https://github.com/apache/incubator-kie-issues/issues/2018) on the spec regarding un-prefixed input data
   


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Decision Engine: Decision Services doesn't work If the import name and the inputName is same [incubator-kie-issues]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio closed issue #2065: Decision Engine: Decision Services doesn't work If the import name and the inputName is same
URL: https://github.com/apache/incubator-kie-issues/issues/2065


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Decision Engine: Decision Services doesn't work If the import name and the inputName is same [incubator-kie-issues]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on issue #2065:
URL: https://github.com/apache/incubator-kie-issues/issues/2065#issuecomment-3199896460

   @Kusuma04-dev @baldimir @yesamer @tiagobento 
   
   I went to the [DMN specifications](https://www.omg.org/spec/DMN/1.6/Beta1/PDF#%5B%7B%22num%22%3A131%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C51%2C802%2C0%5D), and found that:
   
   > The name of an InputData must be different
   from the name of any other decision, input data, business knowledge model, decision service, or import in the
   decision model.
   
   So, the case by itself is invalid. Regardless, I'll try to better manage it, or at very least avoid the stackoverflow exception
   
   


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Decision Engine: Decision Services doesn't work If the import name and the inputName is same [incubator-kie-issues]

Posted by "Kusuma04-dev (via GitHub)" <gi...@apache.org>.
Kusuma04-dev commented on issue #2065:
URL: https://github.com/apache/incubator-kie-issues/issues/2065#issuecomment-3199926077

   Got it. Thanks @gitgabrio  


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org