Rob Godfrey created QPID-7124:
---------------------------------

             Summary: [Java Broker] IndexOutOfBoundsException when attempting 
to create an object through the REST API with no path
                 Key: QPID-7124
                 URL: https://issues.apache.org/jira/browse/QPID-7124
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Rob Godfrey


PUT: http://localhost:8080/api/latest/queue with body content {"name": 
"newQueue"} will result in an error (HTTP status 500 and a 
java.lang.IndexOutOfBoundsException in the broker's logs).
PUT: http://localhost:8080/api/latest/queue/newQueue with body content {} will 
result in an error, too (HTTP status 422 and errorMessage "Either parent path 
or full object path must be specified on object creation. Full object path must 
be specified on object update. Found [] of size 0 expecting 3")

(See e-mail: 
http://qpid.2158936.n2.nabble.com/potential-java-broker-REST-API-bug-tp7639681.html
 )



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to