From e419be8e1f026e576df3d18c2fee2ca9f58a94a5 Mon Sep 17 00:00:00 2001 From: Scott Gray Date: Sat, 3 Oct 2009 05:16:30 +0000 Subject: [PATCH] Remove usage of a deprecated DataResourceWorker method git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821250 13f79535-47bb-0310-9956-ffa450edef68 --- .../webapp/content/WEB-INF/actions/cms/CmsEditAddPrep.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/content/webapp/content/WEB-INF/actions/cms/CmsEditAddPrep.groovy b/applications/content/webapp/content/WEB-INF/actions/cms/CmsEditAddPrep.groovy index e6bd03f7f7..c572457ebc 100644 --- a/applications/content/webapp/content/WEB-INF/actions/cms/CmsEditAddPrep.groovy +++ b/applications/content/webapp/content/WEB-INF/actions/cms/CmsEditAddPrep.groovy @@ -71,7 +71,7 @@ if (dataResourceId) { SimpleMapProcessor.runSimpleMapProcessor("org/ofbiz/content/ContentManagementMapProcessors.xml", "dataResourceOut", dataResource, contentAssocDataResourceViewFrom, new ArrayList(), Locale.getDefault()); templateRoot = [:]; FreeMarkerViewHandler.prepOfbizRoot(templateRoot, request, response); - txt = DataResourceWorker.getDataResourceTextCache(dataResource, "text/html", Locale.getDefault(), templateRoot, delegator); + txt = DataResourceWorker.getDataResourceText(dataResource, "text/html", Locale.getDefault(), templateRoot, delegator, true); if (txt) { textData = UtilFormatOut.encodeXmlValue(txt);