Closedown
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user