مرتب سازی

مشخصات دسته بندی

نوع رابط

جستجوی نتایج

در حین انجام عملیات خطایی رخ داده است.
Java method "com.sun.proxy.$Proxy47.getEntry(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy47 object "com.liferay.asset.internal.service.AssetEntryAssetCategoryRelAssetEntryLocalServiceWrapper@63eeb927"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign assetEntry = assetEntryLocalS...  [in template "20097#20123#40792" at line 8, column 25]
----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />  
2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
3 
4<div class="display-list"> 
5	<ul class="list-group" id="search-results-display-list"> 
6		<#if entries?has_content> 
7			<#list entries as entry> 
8			<#assign assetEntry = assetEntryLocalService.getEntry(entry.getClassName(),entry.getClassPK()) /> 
9				<li class="list-group-item list-group-item-flex"> 
10					<#if !entry.isTemporarilyUnavailable()> 
11 
12						<div class="autofit-col autofit-col-expand"> 
13							<section class="autofit-section"> 
14								<div class="list-group-title"> 
15									<a href="${entry.getViewURL()}"> 
16										${entry.getHighlightedTitle()} 
17									</a> 
18								</div> 
19 
20								<div class="search-results-metadata"> 
21									<p class="list-group-subtext"> 
22										<#if entry.isCreationDateVisible() && assetEntry.getPublishDate()??> 
23											 
24			<span class="js-date main-c subtext-item" data-date="${assetEntry.getPublishDate()?datetime} ??  ?? dddd DD MMMM YYYY" >${assetEntry.getPublishDate()?datetime}</span> 
25											 
26										</#if> 
27									</p> 
28									 
29									<p class="list-group-subtext"> 
30									    <#if entry.isModelResourceVisible()> 
31											<span class="subtext-item"> 
32												${entry.getModelResource()} 
33											</span> 
34										</#if> 
35									</p> 
36 
37									<#if entry.isContentVisible()> 
38										<p class="list-group-subtext"> 
39											<span class="subtext-item" style="color: #212529;"> 
40												${entry.getContent()} 
41											</span> 
42										</p> 
43									</#if> 
44 
45									<#if entry.isFieldsVisible()> 
46										<p class="list-group-subtext"> 
47											<#assign separate = false /> 
48 
49											<#list entry.getFieldDisplayContexts() as fieldDisplayContext> 
50												<#if separate> 
51													&#183; 
52												</#if> 
53 
54												<span class="badge">${fieldDisplayContext.getName()}</span> 
55 
56												<span>${fieldDisplayContext.getValuesToString()}</span> 
57 
58												<#assign separate = true /> 
59											</#list> 
60										</p> 
61									</#if> 
62 
63									 
64 
65									<#if entry.isDocumentFormVisible()> 
66										<h6 class="expand-details text-default"> 
67											<span class="list-group-text" style=""> 
68												<a href="javascript:;"> 
69													<@liferay.language key="details" />... 
70												</a> 
71											</span> 
72										</h6> 
73 
74										<div class="hide search-results-list table-details table-responsive"> 
75											<table class="table"> 
76												<thead> 
77													<tr> 
78														<th class="key-column"> 
79															<@liferay.language key="key" /> 
80														</th> 
81														<th> 
82															<@liferay.language key="value" /> 
83														</th> 
84													</tr> 
85												</thead> 
86 
87												<tbody> 
88													<#list entry.getDocumentFormFieldDisplayContexts() as fieldDisplayContext> 
89														<tr> 
90															<td class="key-column table-details-content"> 
91																<strong>${htmlUtil.escape(fieldDisplayContext.getName())}</strong> 
92															</td> 
93															<td class="table-details-content"> 
94																<code> 
95																	${fieldDisplayContext.getValuesToString()} 
96																</code> 
97															</td> 
98														</tr> 
99													</#list> 
100												</tbody> 
101											</table> 
102										</div> 
103									</#if> 
104								</div> 
105							</section> 
106						</div> 
107					<#else> 
108						<div class="autofit-col"> 
109							<div class="alert alert-danger"> 
110								<@liferay.language_format 
111									arguments="result" 
112									key="is-temporarily-unavailable" 
113								/> 
114							</div> 
115						</div> 
116					</#if> 
117				</li> 
118			</#list> 
119		</#if> 
120	</ul> 
121</div> 
122 
123<@liferay_aui.script use="aui-base"> 
124	A.one('#search-results-display-list').delegate( 
125		'click', 
126		function(event) { 
127			var currentTarget = event.currentTarget; 
128 
129			currentTarget.siblings('.search-results-list').toggleClass('hide'); 
130		}, 
131		'.expand-details' 
132	); 
133</@liferay_aui.script>