Fix Configuration Controller bug.
This commit is contained in:
parent
b8b05c03fc
commit
b5b7851cfb
1 changed files with 2 additions and 1 deletions
|
|
@ -242,7 +242,8 @@ public class ConfigurationController extends GenericForwardComposer {
|
|||
|
||||
public void save() throws InterruptedException {
|
||||
|
||||
if ( getSelectedConnector().getName().equals("E-mail") && isEmailFieldsValid() == false) {
|
||||
if ( getSelectedConnector() != null && getSelectedConnector().getName().equals("E-mail") &&
|
||||
isEmailFieldsValid() == false ) {
|
||||
messages.showMessage(Level.ERROR, _("Check username/password/sender fields"));
|
||||
} else {
|
||||
ConstraintChecker.isValid(configurationWindow);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue