Closedown

This commit is contained in:
boccioli_m
2015-09-24 16:01:01 +02:00
parent ef82210c70
commit f3833cf20c

View File

@@ -498,12 +498,13 @@ public class NewTest extends javax.swing.JPanel {
return false;
}
if (sType == TypeOfNewFile.Test){
//check user name on LDAP
if(!(txtContactName.getText().matches(ALLOWED_CHARSET3)
)){
SwingUtils.showMessage(this, "checkDataFields()",
"Please provide a valid user name");
return false;
} else{ //check if the user name is in LDAP *FOR THE MOMENT IT DOES NOT WORK*
} else{
if ( !userExists(txtContactName.getText())){
OptionResult ret = SwingUtils.showOption(this, "checkDataFields()",
"Could not find user name "+txtContactName.getText() + "\nDo you want to continue generating the test?", OptionType.YesNoCancel);