[jboss-jira] [JBoss JIRA] (DROOLS-3986) [DMN Editor] Unable to Execute model with imported nodes

Michael Anstis (Jira) issues at jboss.org
Tue May 7 08:41:00 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-3986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Anstis reassigned DROOLS-3986:
--------------------------------------

    Assignee: Guilherme Gomes  (was: Michael Anstis)


> [DMN Editor] Unable to Execute model with imported nodes
> --------------------------------------------------------
>
>                 Key: DROOLS-3986
>                 URL: https://issues.jboss.org/browse/DROOLS-3986
>             Project: Drools
>          Issue Type: Bug
>          Components: DMN Editor
>    Affects Versions: 7.22.0.Final
>            Reporter: Jozef Marko
>            Assignee: Guilherme Gomes
>            Priority: Major
>              Labels: drools-tools
>         Attachments: MySpace_dmn.imports (1).zip, error.log
>
>
> This Iss was spotted during review of [PR|https://github.com/kiegroup/kie-wb-common/pull/2620] for DROOLS-3829 and DROOLS-3934.
> User is not able to execute model with imported nodes.
> h3. Steps To Reproduce
> # Deploy the attached project to kie server
> # Try to execute the model as:
> {code:sh}
> curl -u testadmin:'admin1234;' -H "accept: application/json" -H "content-type: application/json" -X POST "http://localhost:8080/kie-server/services/rest/server/containers/dmn.imports/dmn" -d "{ \"model-namespace\" : \"https://github.com/kiegroup/drools/kie-dmn/_547C193C-0B52-45F5-877E-F74A7DD29838\", \"model-name\" : \"routes\", \"decision-name\" : [\"Traffic.Traffic\" ], \"decision-id\" : [ ], \"dmn-context\" : {\"cars per hour\" : 10}}"
> {code}
> # You will get result:
> {code:json}
> {
>   "type" : "FAILURE",
>   "msg" : "Error from container 'dmn.imports'Unable to locate DMN Model to evaluate",
>   "result" : null
> }{code}
> # Error appears in server log:  [^error.log] 
> h3. Actual result
> There is response error message and error in server log
> h3. Expected result
> Model is executed



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list