NIHVIVO-143 Front end deletion of moniker through the "delete" link: fixed more bugs, so it finally works.
This commit is contained in:
parent
ea25ff4ffb
commit
6038b68c4a
3 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue