NIHVIVO-2476 Rather than rewrite editDatapropStmtRequestDispatch.jsp to filter on statements, use an unfiltered DAO for the particular operation.

This commit is contained in:
j2blake 2011-07-16 21:23:33 +00:00
parent a949d99bb5
commit cdd0d2f733

View file

@ -89,7 +89,8 @@
}
vreq.setAttribute("subject", subject);
DataProperty dataproperty = wdf.getDataPropertyDao().getDataPropertyByURI( predicateUri );
WebappDaoFactory unfilteredWdf = vreq.getAssertionsWebappDaoFactory();
DataProperty dataproperty = unfilteredWdf.getDataPropertyDao().getDataPropertyByURI( predicateUri );
if( dataproperty == null) {
// No dataproperty will be returned for rdfs:label, but we shouldn't throw an error.
// This is controlled by the Jena layer, so we can't change the behavior.