Author: jleroux
Date: Mon Oct 9 12:34:19 2017
New Revision: 1811564
URL:
http://svn.apache.org/viewvc?rev=1811564&view=revLog:
Fixed: Template edit are not working correctly
(OFBIZ-9830)
jleroux: just noticed after r1811559 that the mimeTypeId was not used
Modified:
ofbiz/ofbiz-framework/trunk/applications/content/groovyScripts/layout/EditSubContent.groovy
Modified: ofbiz/ofbiz-framework/trunk/applications/content/groovyScripts/layout/EditSubContent.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/groovyScripts/layout/EditSubContent.groovy?rev=1811564&r1=1811563&r2=1811564&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/groovyScripts/layout/EditSubContent.groovy (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/groovyScripts/layout/EditSubContent.groovy Mon Oct 9 12:34:19 2017
@@ -41,7 +41,7 @@ if (currentValue) {
// webSiteId and https need to go here, too
templateRoot.context = ctx
currentValue.drDataTemplateTypeId = "NONE"
- textData = DataResourceWorker.renderDataResourceAsText(dispatcher, delegator, dataResourceId, templateRoot, locale, null, false)
+ textData = DataResourceWorker.renderDataResourceAsText(dispatcher, delegator, dataResourceId, templateRoot, locale, mimeTypeId, false)
context.textData = textData
}
}