Author: lektran
Date: Sat Sep 11 03:33:48 2010
New Revision: 996054
URL:
http://svn.apache.org/viewvc?rev=996054&view=revLog:
Remove the target mime check for text/plain when writing text, previously any target type other than text/html or text/plain would always receive an empty string as output
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=996054&r1=996053&r2=996054&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 Sep 11 03:33:48 2010
@@ -870,7 +870,7 @@ public class DataResourceWorker impleme
} else {
out.append(textData);
}
- } else if ("text/plain".equals(targetMimeTypeId)) {
+ } else {
out.append(textData);
}
}