Legal Click-Thru

Extended Viewer

An error occurred while processing the template.
The following has evaluated to null or missing:
==> direct_download_cutoff_date  [in template "10159#10199#1377864" at line 16, column 64]

----
Tip: If the failing expression is known to be 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 direct_download_cutoff_date_D...  [in template "10159#10199#1377864" at line 16, column 1]
----
1<#-- 
2## IPD Factsheet template 
3--> 
4 
5<#assign articleTool = journalArticleTool > 
6<#assign articleHelper = articleTool.getArticleHelper(.vars['reserved-article-id'].data) > 
7<#assign journalArticle = articleHelper.getArticle() > 
8<#assign portalUrl = themeDisplay.getPortalURL() > 
9<#assign pageUrl = "/real-estate-registration/-/forms/action/checkUrl" > 
10<#assign redirectw2l = portalUrl + pageUrl > 
11<#assign last_modified_date = .vars['reserved-article-modified-date'].data > 
12<#assign last_modified_date = last_modified_date?date("EEE, dd MMM yyyy") > 
13<#assign dateFormat="dd MMM yyyy 'UTC'" > 
14<#assign timeZone = timeZoneUtil.getTimeZone(user.getTimeZoneId()) > 
15<#assign last_modified_date = dateUtil.getDate(last_modified_date, dateFormat, locale, timeZone) > 
16<#assign direct_download_cutoff_date_Data = getterUtil.getLong(direct_download_cutoff_date.getData()) > 
17 
18<div class="content-detailed-container"> 
19 
20	<h1>${.vars['reserved-article-title'].getData()}</h1> 
21 
22	<p> 
23		<#assign categories=articleHelper.getCategories() > 
24		<#if categories?has_content > 
25	        <b>categories:</b> 
26			<#list articleHelper.getCategories() as cat > 
27				${cat.getTitle(locale)}<#if cat?has_next>, </#if> 
28			</#list> 
29		</#if> 
30	</p> 
31 
32 
33	<div class="__ipd-factsheet-item-wrappeer"> 
34 
35	    <div class="textual-content-wrapper"> 
36	        <p class="description"> 
37				${description.getData()} 
38	        </p> 
39	        <div class="button-wrapper"> 
40				<#if button.getSiblings()?has_content > 
41					<#assign counter = 0 > 
42					<#list button.getSiblings() as cur_button > 
43						<#assign counter = counter + 1 > 
44						<#if (cur_button.getData() != "") && (cur_button.external_url.getData() != "") > 
45							<#assign url = cur_button.external_url.getData()! > 
46						</#if> 
47						<#if (cur_button.getData() != "") && (cur_button.media.getData() != "") > 
48							<#assign url = cur_button.media.getData()! > 
49						</#if> 
50 
51						<#if (url != "") > 
52							<#if (redirectw2l?? && redirectw2l != "") > 
53 
54								<#assign url = redirectw2l + "?path=" + url?html> 
55 
56	                            <a class="cta-button-2" href="${url}" target="_blank">${cur_button.getData()}</a> 
57							<#else> 
58	                            <a class="cta-button-2" href="${url}" target="_blank">${cur_button.getData()}</a> 
59							</#if> 
60						</#if> 
61 
62						<#if (counter == 1) > 
63							<#assign firstUrl = url > 
64						</#if> 
65					</#list> 
66				</#if> 
67	        </div> 
68	    </div> 
69 
70	</div> 
71	<br/> 
72 
73 
74 
75	<#if (direct_download_cutoff_date_Data > 0) > 
76		<#assign direct_download_cutoff_date_DateObj = dateUtil.newDate(direct_download_cutoff_date_Data) > 
77	</#if> 
78 
79	<#if (firstUrl != "") && (direct_download_cutoff_date_Data>0) && (dateUtil.compareTo(direct_download_cutoff_date_DateObj,dateUtil.newDate()) < 1) > 
80		<#if (firstUrl) > 
81	    <script>window.location.href='${firstUrl}'</script> 
82		</#if> 
83	</#if> 
84 
85</div>