From 8a5dba006b68e76b34f8f4d910f08bf842df6783 Mon Sep 17 00:00:00 2001 From: Deepak Dixit Date: Sat, 8 Sep 2018 11:44:45 +0000 Subject: [PATCH] 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 --- ecommerce/template/data/Tree.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecommerce/template/data/Tree.ftl b/ecommerce/template/data/Tree.ftl index 93ddc4008..27b47fa3c 100644 --- a/ecommerce/template/data/Tree.ftl +++ b/ecommerce/template/data/Tree.ftl @@ -27,7 +27,7 @@ under the License. <#macro topic> - <#local contentId="ECMT" + .node.@id[0]/> + <#assign contentId="ECMT" + .node.@id[0]/> <#recurse .node> @@ -38,7 +38,7 @@ under the License. <#local contentIdTo="ECMC" + .node.@id[0]/> <#local assocType="PUBLISH_LINK"/> - <#assign nowStamp=Static["org.apache.ofbiz.base.util.UtilDateTime"].nowTimestamp()/> + <#local nowStamp=Static["org.apache.ofbiz.base.util.UtilDateTime"].nowTimestamp()/>