You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/14 10:58:01 UTC

[jira] [Commented] (QPID-7124) [Java Broker] IndexOutOfBoundsException when attempting to create an object through the REST API with no path

    [ https://issues.apache.org/jira/browse/QPID-7124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329306#comment-15329306 ] 

ASF subversion and git services commented on QPID-7124:
-------------------------------------------------------

Commit 1748386 from [~lorenz.quack] in branch 'java/trunk'
[ https://svn.apache.org/r1748386 ]

QPID-7124: [Java Broker] Improve parsing of REST URLs

> [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
>             Fix For: qpid-java-6.1
>
>
> * 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org