Human Resources
Personnel Maps
An error occurred while processing the template.
Expression fileURL[5] is undefined on line 23, column 36 in 10155#10195#19997.
1<div class="regular-content-wrapper mb-2"> 2 <#if seccao.getSiblings()?has_content > 3 <#list seccao.getSiblings() as topico> 4 <#if (topico.Titulo_conteudo.getData() != "")> 5 <h2 class="beta">${topico.Titulo_conteudo.getData()}</h2> 6 </#if> 7 <#if (topico.Descricao.getData() != "")> 8 <h3>${topico.Descricao.getData()}</h3> 9 </#if> 10 <div class="inside-content-wrapper tagline mb-3"> 11 ${topico.Conteudo.getData()} 12 </div> 13 <#if topico.attach_doc.getSiblings()?has_content > 14 <#assign count=1 /> 15 <#list topico.attach_doc.getSiblings() as doc> 16 <#if (doc.getData() != "")> 17 <#assign 18 serviceContext = staticUtil["com.liferay.portal.service.ServiceContextThreadLocal"].getServiceContext() 19 themeDisplay = serviceContext.getThemeDisplay() 20 dlAppServiceUtil = staticUtil["com.liferay.portlet.documentlibrary.service.DLAppServiceUtil"] 21 22 fileURL = doc.getData()?split("/") 23 uuid = fileURL[5]?split("?")[0] 24 groupId = getterUtil.getLong(fileURL[2]) 25 /> 26 <#attempt> 27 <#assign 28 file = dlAppServiceUtil.getFileEntryByUuidAndGroupId(uuid, groupId) 29 fileName = file.getTitle() 30 /> 31 <#recover> 32 <#assign fileName = "Ficheiro "+count> 33 </#attempt> 34 <div class="mb-2"> 35 <a href="${doc.getData()}" target="_blank"> 36 <div style="display:inline-block"> 37 <div class="download-content-wrapper"> 38 <div> 39 <img src="/ig-theme/images/content/download-black.svg" alt="${fileName}"> 40 </div> 41 <div> 42 <div class="tagline--big"> 43 ${fileName} 44 </div> 45 </div> 46 </div> 47 </div> 48 </a> 49 </div> 50 <#assign count=count+1 /> 51 </#if> 52 </#list> 53 </#if> 54 </#list> 55 </#if> 56</div> An error occurred while processing the template.
Expression fileURL[5] is undefined on line 31, column 48 in 10155#10195#23825.
1<#if seccao.getSiblings()?has_content > 2 <#list seccao.getSiblings() as topico> 3 <section class="accordion-section"> 4 <div class="py-3 content__toggle js-accordion" title="${topico.Titulo_conteudo.getData()}" tabindex="0"> 5 <h2 class="beta">${topico.Titulo_conteudo.getData()}</h2> 6 <span class="sr-only">${topico.Titulo_conteudo.getData()}</span> 7 <div class="icon-ss-plus-sign expand-stop-moving"> 8 <div class="icon"></div> 9 <#if locale.language == "pt"> 10 <span>Detalhe</span> 11 <#else> 12 <span>Details</span> 13 </#if> 14 </div> 15 </div> 16 <div class="content__section pt-3"> 17 <div class="regular-content-wrapper"> 18 <div class="inside-content-wrapper tagline mb-2"> 19 ${topico.Conteudo.getData()} 20 </div> 21 <#if topico.attach_doc.getSiblings()?has_content > 22 <#assign count=1 /> 23 <#list topico.attach_doc.getSiblings() as doc> 24 <#if (doc.getData() != "")> 25 <#assign 26 serviceContext = staticUtil["com.liferay.portal.service.ServiceContextThreadLocal"].getServiceContext() 27 themeDisplay = serviceContext.getThemeDisplay() 28 dlAppServiceUtil = staticUtil["com.liferay.portlet.documentlibrary.service.DLAppServiceUtil"] 29 30 fileURL = doc.getData()?split("/") 31 uuid = fileURL[5]?split("?")[0] 32 groupId = getterUtil.getLong(fileURL[2]) 33 /> 34 <#attempt> 35 <#assign 36 file = dlAppServiceUtil.getFileEntryByUuidAndGroupId(uuid, groupId) 37 fileName = file.getTitle() 38 /> 39 <#recover> 40 <#assign fileName = "Ficheiro "+count> 41 </#attempt> 42 <div class="mb-2"> 43 <a href="${doc.getData()}" target="_blank"> 44 <div style="display:inline-block"> 45 <div class="download-content-wrapper"> 46 <div> 47 <img src="/ig-theme/images/content/download-black.svg" alt="${fileName}" > 48 </div> 49 <div> 50 <div class="tagline--big"> 51 ${fileName} 52 </div> 53 </div> 54 </div> 55 </div> 56 </a> 57 </div> 58 <#assign count=count+1 /> 59 </#if> 60 </#list> 61 </#if> 62 </div> 63 </div> 64 </section> 65 </#list> 66 </#if>