From cdd0d2f733bd7c114397292b9cb196376be58a52 Mon Sep 17 00:00:00 2001 From: j2blake Date: Sat, 16 Jul 2011 21:23:33 +0000 Subject: [PATCH] NIHVIVO-2476 Rather than rewrite editDatapropStmtRequestDispatch.jsp to filter on statements, use an unfiltered DAO for the particular operation. --- webapp/web/edit/editDatapropStmtRequestDispatch.jsp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/web/edit/editDatapropStmtRequestDispatch.jsp b/webapp/web/edit/editDatapropStmtRequestDispatch.jsp index e726fd94a..4d720341c 100644 --- a/webapp/web/edit/editDatapropStmtRequestDispatch.jsp +++ b/webapp/web/edit/editDatapropStmtRequestDispatch.jsp @@ -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.