mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Fix for ALF-12771
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
<#macro json_string string>${string?js_string?replace("\\'", "\'")?replace("\\>", ">")}</#macro>
|
||||||
|
|
||||||
<#macro aclChangeSetJSON aclChangeSet>
|
<#macro aclChangeSetJSON aclChangeSet>
|
||||||
{
|
{
|
||||||
"id": ${aclChangeSet.id?c},
|
"id": ${aclChangeSet.id?c},
|
||||||
@@ -96,7 +98,7 @@
|
|||||||
<#if (nodeMetaData.parentAssocs?size > 0)>
|
<#if (nodeMetaData.parentAssocs?size > 0)>
|
||||||
, "parentAssocs": [
|
, "parentAssocs": [
|
||||||
<#list nodeMetaData.parentAssocs as pa>
|
<#list nodeMetaData.parentAssocs as pa>
|
||||||
"${pa}"<#if pa_has_next>,</#if>
|
"<@json_string "${pa}"/>"<#if pa_has_next>,</#if>
|
||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
,"parentAssocsCrc": <#if nodeMetaData.parentAssocsCrc??>${nodeMetaData.parentAssocsCrc?c}<#else>null</#if>
|
,"parentAssocsCrc": <#if nodeMetaData.parentAssocsCrc??>${nodeMetaData.parentAssocsCrc?c}<#else>null</#if>
|
||||||
@@ -108,7 +110,7 @@
|
|||||||
<#if (nodeMetaData.childAssocs?size > 0)>
|
<#if (nodeMetaData.childAssocs?size > 0)>
|
||||||
, "childAssocs": [
|
, "childAssocs": [
|
||||||
<#list nodeMetaData.childAssocs as ca>
|
<#list nodeMetaData.childAssocs as ca>
|
||||||
"${ca}"<#if ca_has_next>,</#if>
|
"<@json_string "${ca}"/>"<#if ca_has_next>,</#if>
|
||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
</#if>
|
</#if>
|
||||||
|
Reference in New Issue
Block a user