Wizard: Issue a partial validation only if desired for a certain page

fixes #9306
This commit is contained in:
Johannes Meyer 2015-06-29 17:08:31 +02:00
parent 9c82a24083
commit e795665421
1 changed files with 3 additions and 1 deletions

View File

@ -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);