850019f018
53ac1f8d-fix_show_err_typo.patch 53ac1f8d-createnet-validate-last-page-before-creating-network.patch - KVM: Don't check for /dev/kvm. It is now built into the kernel virtman-kvm.patch - Upstream bug fix 53a995cb-fix-usb-storage-removable-syntax.patch - Upstream bug fixes 5397b647-createnet-enable-specifying-29-subnet.patch 539e8cca-createpool-fix-creation-of-gluster-pools.patch 53a05e73-fix-edit-maxvcpus.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=184
25 lines
899 B
Diff
25 lines
899 B
Diff
Subject: createnet: validate last page before creating the network
|
|
From: Giuseppe Scrivano gscrivan@redhat.com Wed Jun 25 12:35:46 2014 +0200
|
|
Date: Thu Jun 26 15:26:37 2014 +0200:
|
|
Git: f109b1ed6fc93c1c74675d047affc0fe57ae7243
|
|
|
|
On the last page in the createnet wizard the Next button is changed to
|
|
Finish. Ensure the user input is validated also on this page.
|
|
|
|
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
|
|
|
Index: virt-manager-1.0.1/virtManager/createnet.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtManager/createnet.py
|
|
+++ virt-manager-1.0.1/virtManager/createnet.py
|
|
@@ -746,6 +746,9 @@ class vmmCreateNetwork(vmmGObjectUI):
|
|
net.install()
|
|
|
|
def finish(self, ignore):
|
|
+ if not self.validate(PAGE_MAX):
|
|
+ return
|
|
+
|
|
try:
|
|
net = self._build_xmlobj()
|
|
except Exception, e:
|