Při zpracování šablony došlo k chybě.
Error on line 33, column 9 in 10154#10192#10748
dlFileEntryUtil.getDLFileEntryByUuidAndGroupId(uuid,groupId) is undefined.
It cannot be assigned to fileEntry
1<#assign reservedArticleModifiedDate = .data_model["reserved-article-display-date"].dateValue("EEE, d MMM yyyy HH:mm:ss Z")/> 
2<#assign modifiedDate = reservedArticleModifiedDate?date?string.medium/> 
3<#assign TextFormatter = staticUtil["com.liferay.portal.kernel.util.TSTextFormatter"] /> 
4 
5<div class="article"> 
6  <div class="annot-box"> 
7    <h1 class="title">${.data_model["reserved-article-title"].data}</h1> 
8    <p class="info"><strong>${modifiedDate}</strong> 
9<#--     
10    <span class="sep"> | </span> 
11      ${.data_model["reserved-article-author-name"].data} 
12    </p>--> 
13    <p class="annot"> 
14      ${.data_model["reserved-article-description"].data} 
15    </p> 
16  </div> 
17  <div class="content">  
18    ${Content.data} 
19  </div> 
20</div> 
21 
22 
23<#if AttachedFiles?? && (AttachedFiles.siblings?size >0) && (AttachedFiles.data?length >0)> 
24<h2><@localize "Připojené soubory" "Attached Files"/></h2> 
25<ul class="attach-file"> 
26  <#list AttachedFiles.siblings as lfile> 
27    <#if (lfile.data?length >0)>         
28        <#assign urlParts = stringUtil.split(lfile.data, '/')/> 
29        <#assign urlPart = stringUtil.split(urlParts[5], '?')/> 
30        <#assign uuid = getterUtil.getString(urlPart[0])/> 
31        <#assign groupId = getterUtil.getLong(urlParts[2])/>  
32        <#assign dlFileEntryUtil = serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService")/> 
33        <#assign fileEntry = dlFileEntryUtil.getDLFileEntryByUuidAndGroupId(uuid,groupId)/> 
34     
35        <li> 
36          <a class="icoText" href="${lfile.data}"> 
37            <span class="icoFile ico-file-${fileEntry.extension}"></span>${fileEntry.title} 
38          </a> 
39          (${TextFormatter.formatHumanReadableByteCountEx(fileEntry.size, '%3.0f %s', locale)?trim}B) 
40        </li>  
41    </#if> 
42  </#list> 
43</ul> 
44</#if> 
45 
46<#macro localize cs en> 
47  <#if locale.language == "en"><#t> 
48    ${en}<#t> 
49  <#else><#t> 
50    ${cs}<#t> 
51  </#if><#t> 
52</#macro>