You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2016/06/14 11:46:01 UTC

[jira] [Resolved] (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:all-tabpanel ]

Keith Wall resolved QPID-7124.
------------------------------
    Resolution: Fixed

Lorenz and I paired on this task.

> [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
>            Assignee: Keith Wall
>             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