Allmann Liane - Allmann Liane - Anwaltskongress

Speakers

null Allmann Liane
Fehler bei der Verarbeitung der Vorlage.
Java method "com.sun.proxy.$Proxy602.isLatestVersion(long, String, double)" threw an exception when invoked on com.sun.proxy.$Proxy602 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@7fc76a14"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if JournalArticleLocalService.isLate...  [in template "672157#672192#259001" at line 39, column 17]
----
1<#assign  
2    liferay_ui = taglibLiferayHash["/META-INF/liferay-ui.tld"]  
3    JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
4    DMStructureLocalService = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMStructureLocalService") 
5    OrderByComparatorFactoryUtil = staticUtil["com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil"] 
6    orderby = OrderByComparatorFactoryUtil.create("JournalArticle", "displayDate", "desc") 
7    structures = DMStructureLocalService.getStructures(groupId) 
8    referentName = .vars['reserved-article-title'].data 
9/> 
10<#list structures as s> 
11    <#if htmlUtil.extractText(s.getName()) = "Referat/Workshop"> 
12        <#assign structureKey = s.structureKey> 
13    </#if> 
14</#list> 
15 
16<div class="entry referent"> 
17    <div class="inner relative"> 
18        <h2>${referentName},  
19            <small>${FunktionTitel.getData()}, ${FirmaInstitution.getData()}</small> 
20        </h2> 
21        <table class="table"> 
22            <#if Adresse.getData()?has_content> 
23                <tr><th scope="row">Adresse</th><td>${Adresse.getData()}</td></tr> 
24            </#if> 
25            <#if Telefon.getData()?has_content> 
26                <tr><th scope="row">Telefon</th><td>${Telefon.getData()}</td></tr> 
27            </#if> 
28            <#if Email.getData()?has_content> 
29                <tr><th scope="row">E-Mail</th><td>${Email.getData()}</td></tr> 
30            </#if> 
31        </table> 
32        <hr /> 
33        <h3>Referate</h3> 
34         
35        <#-- Get all Referate --> 
36        <#assign entries = JournalArticleLocalService.getStructureArticles(groupId,structureKey,-1,-1,orderby)> 
37        <ul class="referate-list"> 
38            <#list entries as curEntry> 
39                <#if JournalArticleLocalService.isLatestVersion(groupId,curEntry.articleId,curEntry.version)> 
40                    <#assign  
41                        templateKey = curEntry.DDMTemplateKey 
42                        articleId = curEntry.articleId 
43                        article_content = JournalArticleLocalService.getArticleContent(groupId, articleId, null, templateKey, localeString, themeDisplay) 
44                        article = JournalArticleLocalService.getArticle(groupId, articleId) 
45                        document = saxReaderUtil.read(article.getContentByLocale(locale)) 
46                        rootElement = document.getRootElement() 
47
48                    <#list rootElement.elements() as dynamicElement> 
49                        <#if dynamicElement.attributeValue("name") =="Referent"> 
50                            <#assign Referent = dynamicElement.element( 'dynamic-content').getText()> 
51                             
52                            <#-- Check if Referate has referentName --> 
53                            <#if Referent?contains(referentName)> 
54                                <li><a href="/web${layout.getGroup().getFriendlyURL()}/-/${curEntry.urlTitle}">${curEntry.getTitle(locale)}</a></li> 
55                            </#if> 
56                        </#if> 
57                    </#list> 
58                </#if> 
59            </#list> 
60        </ul> 
61    </div> 
62</div>