Fixed: Use assign tag instead of local in Tree.ftl,as its causing data load error. Tree.ftl used in DemoTree.xml to demonstrate the entity-engine-transform-xml feature.
Thanks Swapnil Mane for reporting the issue git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1840354 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -27,7 +27,7 @@ under the License.
|
||||
</#macro>
|
||||
|
||||
<#macro topic>
|
||||
<#local contentId="ECMT" + .node.@id[0]/>
|
||||
<#assign contentId="ECMT" + .node.@id[0]/>
|
||||
<#recurse .node>
|
||||
</#macro>
|
||||
|
||||
@@ -38,7 +38,7 @@ under the License.
|
||||
<#local contentIdTo="ECMC" + .node.@id[0]/>
|
||||
<#local assocType="PUBLISH_LINK"/>
|
||||
</#if>
|
||||
<#assign nowStamp=Static["org.apache.ofbiz.base.util.UtilDateTime"].nowTimestamp()/>
|
||||
<#local nowStamp=Static["org.apache.ofbiz.base.util.UtilDateTime"].nowTimestamp()/>
|
||||
<ContentAssoc contentIdTo="${contentIdTo}" contentId="${contentId}" contentAssocTypeId="${assocType}"
|
||||
fromDate="${nowStamp?string("yyyy-MM-dd HH:mm:ss")}"/>
|
||||
</#macro>
|
||||
|
||||
Reference in New Issue
Block a user