Markkinapäivän tuotteet

Markkinapäivätuotteet sivu

Lisäämme markkinapäivänä myytäviä tuotteita sivustolle ennakkoon tutustuttavaksi.

Huutokauppa alkaa pe 29.11.2024 klo 12. Meklarina toimii Pertti Sirkka.

Category Filter

Asset Publisher

Myyty. Kohde 49, Ohjaamon sivulaatikko

An error occurred while processing the template.
Java method "jdk.proxy182.$Proxy1175.getLatestArticle(long, String)" threw an exception when invoked on jdk.proxy182.$Proxy1175 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@72103fc0"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: journalArticle = journalArticleLocalS...  [in template "1812923#1812963#90030" at line 3, column 9]
----
1<#assign  
2	articleId = .vars['reserved-article-id'].data  
3	journalArticle = journalArticleLocalService.getLatestArticle(getterUtil.getLong(groupId), articleId) 
4	displayLocale = journalArticle.getExpandoBridge().getAttribute("displayLocale") 
5	structureKey = journalArticle.getDDMStructureKey() 
6	document = saxReaderUtil.read(journalArticle.getContentByLocale(locale)) 
7	rootElement = document.getRootElement() 
8	elements = rootElement.elements() 
9	imageContent = "" 
10 
11/> 
12<#if (!displayLocale?has_content ||(displayLocale?has_content && displayLocale?contains(locale)))> 
13	<div class="ponsse-content-article"> 
14		<#if title.getData()?has_content> 
15			<h2>${title.getData()}</h2> 
16		</#if> 
17 
18		<div class="article-content"> 
19			<#if paragraph.getSiblings()?has_content> 
20				<#list elements as element> 
21					<#if "mainImage" == element.attributeValue("name")> 
22						<#assign imageContent = element.element("dynamic-content").getText() /> 
23					</#if> 
24				</#list> 
25 
26				<#if imageContent?has_content> 
27					<img class="content-image" src="${getImagePath(imageContent)}"/> 
28				</#if> 
29 
30				<#list paragraph.getSiblings() as cur_paragraph> 
31					<div class="paragraph"> 
32						<div> 
33							<#if cur_paragraph.getData()?has_content> 
34								<div class="title">${cur_paragraph.getData()}</div> 
35							</#if> 
36							<div class="content"> 
37								<#if cur_paragraph.image.getData()?has_content> 
38									<img class="content-image" src="${cur_paragraph.image.getData()}"/> 
39								</#if> 
40								${cur_paragraph.content.getData()} 
41							</div> 
42						</div> 
43					</div>	 
44				</#list> 
45			</#if> 
46		</div> 
47	</div> 
48</#if> 
49 
50<#function getImagePath data> 
51	<#local  
52		imageUUID = jsonFactoryUtil.createJSONObject(data).getString("uuid") 
53		siteId =  themeDisplay.getSiteGroupId() 
54		imageURL = "/documents/${siteId}/${imageUUID}" 
55	/> 
56	<#return imageURL> 
57</#function>