LCCC Residents' Magazine : winter 2023

Citywide

An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy1023.getArticleByUrlTitle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1023 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@21eab17a"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign journalArticle = journalArtic...  [in template "12768602#20123#467749" at line 12, column 33]
----
1<#if serviceLocator??> 
2	<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")/> 
3	<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")/> 
4	<#assign isHidden = false /> 
5	 
6<#if entries?has_content> 
7<div class="page-content-padding"> 
8	<div class="row"><div class="col p-0"><hr class="m-0 mb-sm-3" style="border-top: 0.25rem solid var(--citywide-primary);"></div></div> 
9	<div class="row half-gutters pt-2 mx-n4"> 
10	  <#list entries as entry> 
11				<#assign shortURL = entry.getURL()?keep_after_last("/") /> 
12				<#assign journalArticle = journalArticleLocalService.getArticleByUrlTitle(20121,shortURL)/> 
13				<#assign curEntryCategoryIds = assetCategoryLocalService.getCategoryIds(journalArticle.getModelClassName(), journalArticle.getResourcePrimKey())/> 
14			  <#assign isHidden = curEntryCategoryIds?seq_contains(369629)/> 
15			  <#if !isHidden> 
16			    <#assign content = journalArticleLocalService.getArticleContent(journalArticle,"463905",null,themeDisplay.getLanguageId(),null,themeDisplay)/> 
17			    <div class="col-6 col-md-3 py-2"> 
18	  			  <a href="${entry.getURL()}" class="d-block h-100 bg-white article-link shadow"> 
19						  ${content} 
20			  	  </a> 
21				  </div> 
22				</#if> 
23    </#list> 
24  </div> 
25</div> 
26</#if> 
27	 
28</#if> 

Prefer to read CityWide in a magazine format?

View the interactive version
or pick up a printed copy.

Want to be notified when the next issue is available?

Sign-up now!