mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
SHA-2478 : Some Share features stop working if a site has description = null (#463)
- Fixed some sites FTLs that failed due to site description being null
This commit is contained in:
committed by
GitHub
parent
e567998341
commit
905a590cda
@@ -6,7 +6,11 @@
|
||||
"sitePreset" : "${item.siteInfo.sitePreset}",
|
||||
"shortName" : "${item.siteInfo.shortName}",
|
||||
"title" : "${item.siteInfo.title}",
|
||||
<#if item.siteInfo.description??>
|
||||
"description" : "${item.siteInfo.description}",
|
||||
<#else>
|
||||
"description" : "",
|
||||
</#if>
|
||||
"createdDate" : "${xmldate(item.siteInfo.createdDate)}",
|
||||
"lastModifiedDate" : "${xmldate(item.siteInfo.lastModifiedDate)}",
|
||||
"visibility" : "${item.siteInfo.visibility}",
|
||||
|
@@ -10,7 +10,11 @@
|
||||
"sitePreset": "${site.sitePreset}",
|
||||
"shortName": "${site.shortName}",
|
||||
"title": "${site.title}",
|
||||
<#if site.description??>
|
||||
"description": "${site.description}",
|
||||
<#else>
|
||||
"description" : "",
|
||||
</#if>
|
||||
<#if site.node?exists>
|
||||
"node": "${url.serviceContext + "/api/node/" + site.node.storeType + "/" + site.node.storeId + "/" + site.node.id}",
|
||||
"tagScope": "${url.serviceContext + "/api/tagscopes/" + site.node.storeType + "/" + site.node.storeId + "/" + site.node.id}",
|
||||
|
Reference in New Issue
Block a user