[Kimchi-devel] [PATCH] UI bug fix: Set vlan_id value only if 'Enable VLAN' is checked

Crístian Viana vianac at linux.vnet.ibm.com
Fri Jan 17 17:49:21 UTC 2014


Tested-by: Crístian Viana <vianac at linux.vnet.ibm.com>

Am 17-01-2014 12:28, schrieb Aline Manera:
> From: Aline Manera <alinefm at br.ibm.com>
>
> Commit 2f54aaba added a checkbox to provide choice of enabling vlan tagging
> while creating a bridged network, but it doesn't check the checkbox before
> setting the vlan_id to send server request.
>
> Because that when the user tries to create a bridged network without enabling
> VLAN the following error is raised:
> Invalid parameter: 'None is not of type u'integer''
>
> Fix it by setting vlan_id only if the vlan checkbox is checked.
>
> Signed-off-by: Aline Manera <alinefm at br.ibm.com>




More information about the Kimchi-devel mailing list