Author: jonesde
Date: Sat Jan 17 23:27:35 2009
New Revision: 735393
URL:
http://svn.apache.org/viewvc?rev=735393&view=revLog:
Fixed bug reported by Pierre Gaudin in Jira #OFBIZ-2127, wrong context var used
Modified:
ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java?rev=735393&r1=735392&r2=735393&view=diff==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/data/DataResourceWorker.java Sat Jan 17 23:27:35 2009
@@ -873,7 +873,7 @@
mimeContext.put("dataResource", dataResource);
mimeContext.put("textData", textData);
- String mimeString = DataResourceWorker.renderMimeTypeTemplate(mimeTypeTemplate, context);
+ String mimeString = DataResourceWorker.renderMimeTypeTemplate(mimeTypeTemplate, mimeContext);
out.append(mimeString);
} else {
out.append(textData);