Wizard: Fix that auto-submitting a form does not have any effect

I already said it's a mess...
This commit is contained in:
Johannes Meyer 2015-07-29 16:17:14 +02:00
parent 4cc95c91ef
commit a159e8195f
4 changed files with 12 additions and 0 deletions

View File

@ -138,6 +138,9 @@ class IdoResourcePage extends Form
}
$this->info($this->translate('The configuration has been successfully validated.'));
} elseif (! isset($formData['backend_validation'])) {
// This is usually done by isValid(Partial), but as we're not calling any of these...
$this->populate($formData);
}
return true;

View File

@ -195,6 +195,9 @@ class AuthBackendPage extends Form
}
$this->info($this->translate('The configuration has been successfully validated.'));
} elseif (! isset($formData['backend_validation'])) {
// This is usually done by isValid(Partial), but as we're not calling any of these...
$this->populate($formData);
}
return true;

View File

@ -109,6 +109,9 @@ class DbResourcePage extends Form
}
$this->info($this->translate('The configuration has been successfully validated.'));
} elseif (! isset($formData['backend_validation'])) {
// This is usually done by isValid(Partial), but as we're not calling any of these...
$this->populate($formData);
}
return true;

View File

@ -124,6 +124,9 @@ class LdapResourcePage extends Form
}
$this->info($this->translate('The configuration has been successfully validated.'));
} elseif (! isset($formData['backend_validation'])) {
// This is usually done by isValid(Partial), but as we're not calling any of these...
$this->populate($formData);
}
return true;