NIHVIVO-143 Front end deletion of moniker through the "delete" link: fixed more bugs, so it finally works.

This commit is contained in:
rjy7 2010-03-19 21:37:09 +00:00
parent ea25ff4ffb
commit 6038b68c4a
3 changed files with 8 additions and 8 deletions

View file

@ -85,6 +85,7 @@
DataProperty dataproperty = wdf.getDataPropertyDao().getDataPropertyByURI( predicateUri );
if( dataproperty == null) {
// No dataproperty will be returned for a vitro ns prop, but we shouldn't throw an error.
// RY This is not necessarily true...
if (!isVitroNsProp) {
log.error("Could not find data property '"+predicateUri+"' in model");
throw new Error("editDatapropStmtRequest.jsp: Could not find DataProperty in model: " + predicateUri);