short security group description - didn't preserve form values

Bug #1519552 reported by Martin Pavlásek
6
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.

description: updated
Revision history for this message
Floren (florenllanos) wrote :

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.

Revision history for this message
Floren (florenllanos) wrote :
Revision history for this message
Floren (florenllanos) wrote :
Revision history for this message
yujie (16189455-d) wrote :

Can not reproduce.

Floren (florenllanos)
Changed in horizon:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.