Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

No error is displayed when policy is created with invalid paramaters #110

Closed
sega-yarkin opened this issue Jan 19, 2016 · 2 comments
Closed
Assignees
Milestone

Comments

@sega-yarkin
Copy link

RabbitMQ 3.6.0.

It can be reproduced by putting some random text in 'Definition' fields and submitting the form. Nothing will happen but in the Network console you can see the server responds with a 400 Bad Request:

default

{"error":"bad_request","reason":"Validation failed\n\n[{<<\"random\">>,<<\"random\">>}] are not recognised policy settings\n"}
@michaelklishin michaelklishin changed the title Error not shown when policy is creating with wrong paramater No error is displayed when policy is created with invalid paramaters Jan 20, 2016
@michaelklishin michaelklishin added this to the 3.6.x milestone Jan 20, 2016
@essen
Copy link
Collaborator

essen commented Jan 20, 2016

Looking into this, I found another form where nothing happens, the "Add binding to this queue" in a queue's details page. If you put a non-existing exchange name you get a 404 with no message.

@michaelklishin
Copy link
Member

Fixed in #111, thanks to @sega-yarkin for reporting and @essen for the quick turn-around.

@michaelklishin michaelklishin modified the milestones: 3.6.1, 3.6.x Jan 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants