short security group description - didn't preserve form values
Bug #1519552 reported by
Martin Pavlásek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Project - Compute - Access & Security page
If I try to submit empty form (didn't filled Name and Description), validation of form will reject it and highlight 'Name' field as mandatory. Ok, so I fill this field by some value 'sg-1' and hit submit. I'll get red notice:
Error: Unable to create security group: description has a minimum character requirement of 1. (HTTP 400)
This condition equals non-empty value, so it's actually mandatory as well. But this way content of the submitted dialogue is lost. I would expected similar notice 'in-place' - as same as case of empty 'Name' field that actually rejects submitting the form and close the dialogue.
Hello,
I can't reproduce. I follow this steps, please confirm if I'm doing all ok:
1. Like admin or demo user I go to Project - Compute - Access & Security.
2. I try to submit empty form and It is rejected (1.png).
3. When I fill the "Name" with some text and I have a success submit (2.png)
I change this bug to invalid.
Please, If I'm wrong change the status other once.