Inside Marist News Logo

Asset Publisher

Asset Publisher

Latest Headlines

Silver Needle Runway Showcases Exceptional Work of Fashion Students

Marist Fashion signature event turned heads with its new rotating sta ...

Around Campus

The end of the spring semester is always a busy, celebratory time for ...

Marist University and Siena College Partner on New Direct Admission Program to Earn a Doctorate in Physical Therapy

The new seamless process gives eligible Siena students early acceptan ...

Asset Publisher

News Search

An error occurred while processing the template.
The following has evaluated to null or missing:
==> .vars['reserved-article-display-date']  [in template "86161#86202#1037169" at line 7, column 24]

----
Tip: It's the final [] step that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign displaydate = .vars["reserved...  [in template "86161#86202#1037169" at line 7, column 1]
----
1<#assign friendly_url = portalUtil.getLayoutSetFriendlyURL(themeDisplay.getLayoutSet(), themeDisplay) + "/-/" + .vars['reserved-article-url-title'].data> 
2<#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") /> 
3<#assign AssetVocabularyLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 
4<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
5<#assign journalArticle = JournalArticleLocalService.getArticle(getterUtil.getLong(groupId),.vars['reserved-article-id'].data) /> 
6<#assign categories = AssetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle", journalArticle.getResourcePrimKey()) /> 
7<#assign displaydate = .vars['reserved-article-display-date'].data> 
8<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
9<#assign displaydate_short = displaydate?string("MMM d")> 
10<#assign differenceDate = (.now?long / 86400000)?round - (displaydate?long / 86400000)?round /> 
11 
12<#-- 
13<#if categories[0]??> 
14  <#assign feed = categories[1].getName() /> 
15<#else> 
16  <#assign feed = 'Marist' /> 
17</#if>	 
18										  
19<#if categories[1]??> 
20  <#assign year = categories[0].getName() /> 
21<#else> 
22  <#assign year = 'Marist' /> 
23</#if> 
24										  
25<#if categories[2]??> 
26  <#assign cat = categories[2].getName() /> 
27<#else> 
28  <#assign cat = 'Marist' /> 
29</#if> 
30--> 
31<#assign cat = 'Marist' /> 
32<#assign feed = 'Marist' /> 
33<#assign year = 'Marist' /> 
34<#if categories?has_content> 
35    <#list categories as category> 
36				<#assign vNum = category.getVocabularyId()> 
37				<#assign v  = AssetVocabularyLocalService.getAssetVocabulary(vNum)> 
38    		<#if v.getName() == "topic" > 
39        	<#assign cat = category.getName() /> 
40    		</#if> 
41				<#if v.getName() == "news-feed-type"> 
42					<#assign feed = category.getName() /> 
43    		</#if> 
44				<#if v.getName() == "year---news"> 
45					<#assign year = category.getName() /> 
46    		</#if> 
47    </#list> 
48</#if> 
49 
50<span class="news-search-item" feed="${feed}" year="${year}" category="${cat}"> 
51 
52<div id="${randomNamespace}" class="bg-transparent shadow-none border-0 rounded-0"> 
53	  <a href="${friendly_url}"> 
54		  <img loading="lazy" class="img-fluid" alt="${Thumbnail_Image.getAttribute("alt")!"Marist Image"}"  
55			 <#if Thumbnail_Image.getData() ==""> 
56			   src="/documents/86200/0/og_facebook_1200x630.jpg/8a1151b4-b1b5-8be5-5d4c-da7eff985ef7?version=1.0&t=1691749876180&imagePreview=1"  
57			 <#else> 
58			   src="${Thumbnail_Image.getData()}"  
59			 </#if>  
60			 /> 
61		</a> 
62    <a href="'/news-archives?feed=&year=&category=' + ${cat}" class="news-search-category" title="See more articles in this category">${cat}</a> 
63    <a href="${friendly_url}"><h3 class="news-search-title">${Article_display_title.getData()}</h3></a> 
64		<span class="search-news-info"> 
65		  <#if backDate.getData() != ""> 
66				<icon class="ion-clock"></icon><span class="search-news-info-date">${backDate.getData()?date("yyyy-mm-dd")?string("MMM d")}</span> 
67				<!-- ${.vars['reserved-article-display-date'].data} --> 
68		  <#elseif differenceDate lt 1 > 
69					<icon class="ion-clock"></icon><span class="search-news-info-date">Today</span> 
70			<#elseif differenceDate == 1 > 
71					<icon class="ion-clock"></icon><span class="search-news-info-date">${differenceDate} day ago</span> 
72			<#elseif differenceDate gt 1 && differenceDate lte 7 > 
73				  <icon class="ion-clock"></icon><span class="search-news-info-date">${differenceDate} days ago</span> 
74			<#else> 
75					<icon class="ion-clock"></icon><span class="search-news-info-date">${displaydate_short}</span> 
76			</#if> 
77		</span> 
78</div> 
79<style> 
80    .news-search-category{ 
81		    font-family: 'Myriad Pro Semibold',sans-serif; 
82        font-size: 1em; 
83        color: #b31b1b; 
84        text-transform: uppercase; 
85
86		 
87		.news-search-title{ 
88		    text-decoration: none; 
89        color: #2d322f; 
90				height: 155px; 
91
92		 
93		.search-news-info{ 
94      position: relative; 
95      bottom: 15px; 
96
97		 
98		.search-news-info-date{ 
99		  padding-left: 10px; 
100
101</style> 

Asset Publisher

Student Spotlight

Celebrating Our Student Workers

Our communications and marketing student workers are the backbone of our office. Meet the students who helped elevate Marist University this year.

Asset Publisher

Newsmakers

Marist University Debuts New Logo, Branding, and Commercial

The Poughkeepsie Journal features the impact of Marist University Day >

Marist College Officially Becomes Marist University

WAMC Radio talks to the Marist community about the excitement ahead. >

Media Contacts

Media queries should be directed to Anthony Proia, Director of Media Relations, anthony.proia@marist.edu, and/or the Media Relations team, mediarelations@marist.edu

Marist University Newsroom >

Close