From e795665421334e087c57e267d4e3b47f9ce4a374 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 29 Jun 2015 17:08:31 +0200 Subject: [PATCH] Wizard: Issue a partial validation only if desired for a certain page fixes #9306 --- library/Icinga/Web/Wizard.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/Icinga/Web/Wizard.php b/library/Icinga/Web/Wizard.php index bede00313..1af211017 100644 --- a/library/Icinga/Web/Wizard.php +++ b/library/Icinga/Web/Wizard.php @@ -287,8 +287,10 @@ class Wizard $this->setCurrentPage($this->getNewPage($requestedPage, $page)); $page->getResponse()->redirectAndExit($page->getRedirectUrl()); } - } else { + } elseif ($page->getValidatePartial()) { $page->isValidPartial($requestData); + } else { + $page->populate($requestData); } } elseif (($pageData = $this->getPageData($page->getName())) !== null) { $page->populate($pageData);