Can create Audit with invalid parameters
Bug #1532843 reported by
Vincent Françoise
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-watcherclient |
Fix Released
|
Low
|
Alexander Chadin | ||
watcher |
Fix Released
|
Low
|
Alexander Chadin |
Bug Description
If you are making a POST to http://
We should be able to validate the data that is sent upon creating an Audit to make sure all the fields are valid.
Also note that a wrong audit_template_uuid is only detected when inserting the data into the database
Note
====
There are Tempest tests that are currently skipped because of this bug. So they will have to be re-enabled as we get this fixed
tags: | added: low-hanging-fruit |
summary: |
- Can create Audit with invalid type + Can create Audit with invalid parameters |
Changed in watcher: | |
status: | New → Confirmed |
Changed in watcher: | |
milestone: | none → mitaka-3 |
importance: | Undecided → Low |
description: | updated |
Changed in watcher: | |
assignee: | nobody → Hristo Paskalev (h-paskalev) |
status: | Confirmed → In Progress |
Changed in watcher: | |
milestone: | mitaka-3 → mitaka-rc-1 |
Changed in watcher: | |
milestone: | mitaka-rc-1 → mitaka-rc-final |
Changed in watcher: | |
milestone: | mitaka-rc-final → newton-1 |
Changed in watcher: | |
status: | In Progress → Triaged |
Changed in watcher: | |
assignee: | nobody → Alexander Chadin (joker946) |
Changed in python-watcherclient: | |
assignee: | nobody → Alexander Chadin (joker946) |
Changed in watcher: | |
status: | Triaged → In Progress |
Changed in python-watcherclient: | |
status: | New → In Progress |
importance: | Undecided → Low |
milestone: | none → newton |
Changed in python-watcherclient: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Here is my first attempt at this one. Leaving it here for a review.
https:/ /github. com/hpaskalev/ watcher/ commit/ d19bd4f83b24385 3e305cd3fd0590d 20008eabaa