Navigation Menu
Plant Protection and Certification
- Attività di ricerca
-
Attività istituzionali e di servizio keyboard_arrow_down
- Riviste del Centro
- Pubblicazioni Istituzionali e Schede Tecniche
-
News & Media keyboard_arrow_down
- Eventi
- Collabora con noi
-
Dove siamo keyboard_arrow_down
Breadcrumb
Titolo Pubblicazioni Istituzionali e Schede Tecniche
Pubblicazioni Istituzionali e Schede Tecniche
Asset Publisher
An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy217.getFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy217 object "com.liferay.portlet.documentlibrary.service.impl.DLFileEntryServiceImpl@5fa9e2c5"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign file = dlFileEntryService.get... [in template "20099#20135#48397" at line 37, column 37]
---- 1<!-- Schede tecniche ADT --> 2<#if entries?has_content> 3 <div class="content pt-0"> 4 <#list entries as curEntry> 5 <div class="bottom-separated pb-3 pt-3"> 6 <#assign renderer = curEntry.getAssetRenderer() /> 7 <#assign article = renderer.getArticle() /> 8 <#assign docXml = saxReaderUtil.read(article.getContentByLocale(locale)) /> 9 <#assign titoloCentro = docXml.valueOf("//dynamic-element[@name='TitoloCentro']/dynamic-content/text()") /> 10 <#assign anno = docXml.valueOf("//dynamic-element[@name='AnnoDiPubblicazione']/dynamic-content/text()") /> 11 <#assign abstract = docXml.valueOf("//dynamic-element[@name='Abstract']/dynamic-content/text()") /> 12 <#assign listaDocumenti = docXml.getRootElement().selectNodes("//dynamic-element[@name='DocumentiCorrelati']") /> 13 14 <#assign year = languageUtil.get(locale, "year-publication") /> 15 <#assign centers = languageUtil.get(locale, "centers") /> 16 17 <p class="font-weight-bold pt-2 pb-2 h6">${curEntry.getTitle(locale)}</p> 18 <#if anno?has_content> 19 <p class="mb-0">${year}: <span class="font-weight-bold">${anno}</span></p> 20 </#if> 21 <#if titoloCentro?has_content> 22 <p class="mb-0">${centers}: <span class="font-weight-bold">${titoloCentro}</span></p> 23 </#if> 24 25 <#if abstract?has_content> 26 ${abstract} 27 </#if> 28 29 <#list listaDocumenti as cur_doc> 30 <#assign docItem = cur_doc.valueOf("dynamic-content/text()") /> 31 <#assign docTesto = cur_doc.valueOf("dynamic-element[@name='TestoStampatoAVideo']/dynamic-content/text()") /> 32 33 <#if docItem?has_content> 34 <#assign docVal = docItem?eval /> 35 36 <#assign dlFileEntryService=serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService') /> 37 <#assign file = dlFileEntryService.getFileEntryByUuidAndGroupId(docVal.uuid, docVal.groupId?number) /> 38 39 <#assign assetEntryLocalService = serviceLocator.findService('com.liferay.asset.kernel.service.AssetEntryLocalService') /> 40 <#assign assetEntry = assetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry", file.fileEntryId) /> 41 <#assign assetRenderer=assetEntry.assetRenderer /> 42 <#assign docUrl=assetRenderer.getURLDownload(themeDisplay) /> 43 44 45 <#if cur_doc?is_last> 46 <div class ="pt-3 pb-3 mb-0"> 47 <#else> 48 <div class ="pt-3 pb-3 mb-0 bottom-separated"> 49 </#if> 50 <a download href="${docUrl}" title="${file.fileName}"> 51 <div class="d-flex justify-content-between align-items-center pl-5 pr-5"> 52 <#if docTesto?has_content> 53 ${docTesto} 54 <#else> 55 ${file.fileName} 56 </#if> 57 <div class="btn btn-outline-primary">${file.getExtension()?upper_case}</div> 58 </div> 59 </a> 60 </div> 61 </#if> 62 </#list> 63 </div> 64 </#list> 65 </div> 66</#if>