[jboss-jira] [JBoss JIRA] (DROOLS-1092) Exe server: Better error message for creation of kie-container with container id difference in url and content

Geoffrey De Smet (JIRA) issues at jboss.org
Wed Mar 16 07:19:00 EDT 2016


Geoffrey De Smet created DROOLS-1092:
----------------------------------------

             Summary: Exe server: Better error message for creation of kie-container with container id difference in url and content
                 Key: DROOLS-1092
                 URL: https://issues.jboss.org/browse/DROOLS-1092
             Project: Drools
          Issue Type: Enhancement
          Components: kie server
    Affects Versions: 6.4.0.CR1
            Reporter: Geoffrey De Smet
            Assignee: Edson Tirelli
            Priority: Minor


To reproduce, create  a request like this:

- GET http://localhost:8180/kie-server-7.0.0-SNAPSHOT-ee7/services/rest/server/containers/APPLES_RULE
- Content:

{code}
<kie-container container-id="ORANGES_ARE_BETTER_FRUIT">
  <release-id>
    <group-id>opta</group-id>
    <artifact-id>optacloud</artifact-id> 
    <version>1.0.0</version> 
  </release-id> 
</kie-container>
{code}

Notice that the capitalized variable names don't match.
The current error message doesn't clearly indicate that that's the problem.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list