Disable the "Gateway IP" field when "Disable gateway" is checked

Bug #1372317 reported by Matthias Runge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Low
Unassigned

Bug Description

Does unchecking the Create Subnet checkbox mean that none of the information on this step is now required?

We are still required to enter Gateway IPs in the proper format even though unchecking that box should make that unnecessary (same for when the "Disable Gateway" box is checked.

Tags: neutron ux
Revision history for this message
Sam Betts (sambetts) wrote :

This review addresses this issue already -> https://review.openstack.org/#/c/123123/

Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

This is the Create Network action on Network > Networks. I cannot reproduce this on master -- by unselecting Create Subnet on the second page of the wizard, I can proceed to the next wizard page and successfully create the network without entereing a gateway IP or network address.

Marking as incomplete. If you are able to reproduce this, please update the status and provide additional details on how to reproduce it. Thanks.

tags: added: neutron
Changed in horizon:
status: New → Incomplete
Revision history for this message
Julie Pichon (jpichon) wrote :

I think the idea here is to grey out/disable the fields when unchecking the box, so that it's clear to the user they are no longer required field. It sounds like Sam's patch in comment #1 addresses it though. Maybe the description for this bug should be changed to address this only for the gateway field (disable the field if the "Disable Gateway" checkbox is checked).

summary: - Still required to enter subnet information even when create subnet
- checkbox is unchecked.
+ Disable the "Gateway IP" field when "Disable gateway" is checked
Changed in horizon:
importance: Undecided → Low
status: Incomplete → Confirmed
Revision history for this message
Bradley Jones (bradjones) wrote :

This sounds like a duplicate of this bug https://bugs.launchpad.net/horizon/+bug/1372313 which I have already submitted a patch for

Changed in horizon:
assignee: nobody → Ekaterina Chernova (efedorova)
Revision history for this message
Justin Pomeroy (jpomero) wrote :

If you check the "Disable Gateway" box you still need to enter a valid Gateway IP (or none) to move forward. If this box is checked and the field is hidden then the form should not care if the field is not valid. This issue doesn't seem to be fixed by either of the linked reviews above or this one either: https://review.openstack.org/211907. I hope this bug can be used to fix this.

Changed in horizon:
assignee: Ekaterina Chernova (efedorova) → nobody
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.