You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2016/03/04 15:11:40 UTC

[jira] [Updated] (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 ]

Rob Godfrey updated QPID-7124:
------------------------------
    Description: 
* 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 )

  was:
* 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 )


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