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);