if range uri is null, error message for null rangeVClass should not be thrown
This commit is contained in:
parent
3aca74a7ee
commit
b0c0c71cdb
1 changed files with 4 additions and 3 deletions
|
@ -117,10 +117,11 @@ public class DefaultObjectPropertyFormGenerator implements EditConfigurationGene
|
|||
if(rangeUri != null && !rangeUri.isEmpty()) {
|
||||
WebappDaoFactory ctxDaoFact = vreq.getLanguageNeutralWebappDaoFactory();
|
||||
rangeVClass = ctxDaoFact.getVClassDao().getVClassByURI(rangeUri);
|
||||
}
|
||||
if(rangeVClass == null) {
|
||||
errorMessages = I18n.text(vreq,"the_range_class_does_not_exist");
|
||||
}
|
||||
}
|
||||
|
||||
return errorMessages;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue