Working on converting addRoleToPersonTwoStage to date time with precision NIHVIVO-631
This commit is contained in:
parent
d73aad79f4
commit
9184b6f70f
2 changed files with 4 additions and 3 deletions
|
@ -56,7 +56,8 @@ public class StartYearBeforeEndYear implements N3Validator {
|
|||
errors.put(endFieldName, "End year must be after start year");
|
||||
}
|
||||
} catch (NumberFormatException nfe) {
|
||||
|
||||
errors.put(startFieldName, "could not format star or end date");
|
||||
errors.put(endFieldName, "could not format star or end date");
|
||||
}
|
||||
return errors;
|
||||
}
|
||||
|
|
|
@ -438,8 +438,8 @@ public class InputElementFormattingTag extends TagSupport {
|
|||
// }
|
||||
|
||||
|
||||
if ((getType()==null || getType().equals("")) && field.getEditElement() == null ){
|
||||
log.error("Error in doStartTag: input element type is blank or not specified.");
|
||||
if ((getType()==null || getType().equals("")) && (field != null && field.getEditElement() == null )){
|
||||
log.error("Error in doStartTag: input element type not specified and editElement not specified.");
|
||||
}
|
||||
|
||||
// set ProhibitedFromSearch object so picklist doesn't show
|
||||
|
|
Loading…
Add table
Reference in a new issue