Kyrre created QPID-8657:
---------------------------
Summary: ACL - Posting unknown attributes leaves broker in bad
internal state
Key: QPID-8657
URL: https://issues.apache.org/jira/browse/QPID-8657
Project: Qpid
Issue Type: Bug
Components: Broker-J
Affects Versions: qpid-java-broker-9.0.0
Reporter: Kyrre
Attachments: aclRequest.json, qpidErrorLog.txt, resultingAcl.json
When POSTing an ACL rule with unknown attributes to the Qpid HTTP management
API, the server responds with HTTP 422, Unprocessable Entity. This is somewhat
OK, however, I think maybe a 400 Bad Request would be more appropriate.
But after the post, the broker is somehow left in a bad internal state, as the
returned Json is incomplete and unparseable.
Example POST in [^aclRequest.json]
Qpid log from the incident [^qpidErrorLog.txt]
Returned Json from subsequent GET [^resultingAcl.json]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]