Breast Reconstruction Awareness Day
Er trad een fout op tijdens de verwerking van de sjabloon.
Java method "com.sun.proxy.$Proxy470.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy470 object "be.uzbrussel.website.categorisation.JournalArticleCategorisationService@1607eb67"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign article = journalArticleLocal...  [in template "20116#20152#EVENT TEMPLATE" at line 22, column 1]
----
1<#setting time_zone = timeZone.ID> 
2<#setting locale = "nl_BE"> 
3<#setting datetime_format = "EEE, d MMM yyyy HH:mm:ss Z"> 
4<#assign modifiedDate = .vars['reserved-article-modified-date'].data?datetime?string["yyyy-MM-dd"] /> 
5<#assign langId = request['theme-display']['language-id'] /> 
6 
7<#assign assetTagLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetTagLocalService") /> 
8<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
9<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> 
10<#assign groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService")> 
11<#assign fileService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")> 
12<#assign fileUtil = serviceLocator.findService("com.liferay.document.library.kernel.util.DLUtil") > 
13<#assign appUtil = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppLocalService") > 
14<#assign assetTag = staticUtil["com.liferay.asset.kernel.model.AssetTag"] /> 
15<#assign listUtil = staticUtil["com.liferay.portal.kernel.util.ListUtil"] /> 
16<#assign dateFormat = "dd MMM" /> 
17 
18 
19<#assign articleId = .vars['reserved-article-id'].data /> 
20<#assign articleTitle = .vars['reserved-article-title'].data /> 
21 
22<#assign article = journalArticleLocalService.getArticle(groupId, articleId)> 
23<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey) /> 
24<#assign group = groupLocalService.getGroup(groupId?number) /> 
25 
26<#assign tmpArticles = journalArticleLocalService.getArticlesByStructureId(groupId, "EVENT", -1, -1, null) /> 
27<#assign articles = [] /> 
28 
29 
30<#assign portletName = portletDisplay.portletName /> 
31<#assign assetPublisherPortletName = "com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet" /> 
32<#assign baseURL = themeDisplay.getSiteGroup().getDisplayURL(themeDisplay) + themeDisplay.getLayoutFriendlyURL(themeDisplay.getLayout()) /> 
33 
34<#-- Do this only when in the AssetPublisher Portlet --> 
35<#if portletName == assetPublisherPortletName > 
36	<#list tmpArticles as item > 
37		<#if item.getArticleId() != articleId > 
38			<#assign _date = "" /> 
39			<#assign _location = "" /> 
40			<#assign _title = item.getTitle(locale) /> 
41			<#assign _urlTitle = item.getUrlTitle() /> 
42 
43			<#assign elements = item.getDocument().getRootElement().elements("dynamic-element") /> 
44			<#list elements as element > 
45				<#if element.attribute("name").getValue() == "date" > 
46					<#assign _date = element.getStringValue() /> 
47				<#elseif element.attribute("name").getValue() == "location" > 
48                    <#assign nameElements = element.elements("dynamic-content") /> 
49                    <#if nameElements?? > 
50                        <#list nameElements as nameElement > 
51                            <#if nameElement.attribute("language-id").getValue() == locale> 
52                                <#assign _location = nameElement.getStringValue() > 
53                            </#if> 
54 
55                        </#list> 
56                    </#if> 
57 
58 
59 
60				</#if> 
61			</#list> 
62 
63			<#assign date_Data = getterUtil.getString(_date) + " 23:59:59"> 
64			<#if validator.isNotNull(date_Data)> 
65				<#assign _date = dateUtil.parseDate("yyyy-MM-dd hh:mm:ss", date_Data, locale)> 
66 
67				<#if (.now <= _date?datetime) > 
68					<#assign articles = articles + [ {"date": _date, "title": _title, "location": _location, "urlTitle": _urlTitle} ] /> 
69				</#if> 
70			</#if> 
71 
72		</#if> 
73	</#list> 
74</#if> 
75<#-- Do this only when in the AssetPublisher Portlet --> 
76 
77 
78<section class="news-events uzb-event-detail" data-date="${modifiedDate}"> 
79    <article> 
80        <div class="row"> 
81            <div class="col-sm-12 col-md-8"> 
82                <h1 style="margin-bottom: 10px">${articleTitle}</h1> 
83                <label class="event"><@liferay.language key="event-label" /></label> 
84 
85				<#if asset.getTags()?has_content> 
86					<span class="tag"> 
87					<i class="fa fa-tag" aria-hidden="true"></i> 
88					<#list asset.getTags() as tag> 
89						<#if tag?index == 0 > 
90							${tag.name} 
91						<#else> 
92							- ${tag.name} 
93						</#if> 
94 
95					</#list> 
96					</span> 
97				</#if> 
98 
99 
100 
101                <div style="margin: 10px 0 20xp 0" class="event-info"> 
102						<#if textDate?? && textDate.getData()?? && textDate.getData() != ""> 
103							<div> 
104                                <i class="fa fa-calendar" aria-hidden="true"></i> 
105								${textDate.getData()} 
106                            </div> 
107						</#if> 
108 
109						<#if textTime?? && textTime.getData()?? && textTime.getData() != ""> 
110							<div> 
111                                <i class="fa fa-clock-o" aria-hidden="true"></i> 
112								${textTime.getData()} 
113                            </div> 
114						</#if> 
115 
116						<#if location?? && location.getData()?? && location.getData() != ""> 
117							<div> 
118                                <i class="fa fa-map-marker" aria-hidden="true"></i> 
119								${location.getData()} 
120                            </div> 
121						</#if> 
122                </div> 
123                <div class="content-text"> 
124                    <p> 
125					${content.getData()} 
126                    </p> 
127                </div> 
128 
129				<#if langId?starts_with("nl") && extra?? && extra.block?? && extra.block.getSiblings()?has_content> 
130					<#list extra.block.getSiblings() as entry> 
131						<#if entry.getType() == "ddm-journal-article" && entry.getData() != ""> 
132							<#assign article = entry.getData()?eval /> 
133 
134							<@liferay_ui["asset-display"] className=article.className classPK=getterUtil.getLong(article.classPK, 0) template="full_content" /> 
135						</#if> 
136					</#list> 
137				</#if> 
138 
139				<#if langId?starts_with("fr") && extra_fr?? && extra_fr.block_fr?? && extra_fr.block_fr.getSiblings()?has_content> 
140					<#list extra_fr.block_fr.getSiblings() as entry> 
141						<#if entry.getType() == "ddm-journal-article" && entry.getData() != ""> 
142							<#assign article = entry.getData()?eval /> 
143 
144							<@liferay_ui["asset-display"] className=article.className classPK=getterUtil.getLong(article.classPK, 0) template="full_content" /> 
145						</#if> 
146					</#list> 
147				</#if> 
148 
149                <div class="actions"> 
150                    <div class="uzb-share gray" data-value="${articleTitle}"></div> 
151 
152                    <button type="button" class="btn btn-default" data-toggle="modal" data-target="#newsletterModal${randomNamespace}"> 
153					<@liferay.language key="subscribe-newsletter" /> 
154                    </button> 
155 
156                    <div class="modal fade" id="newsletterModal${randomNamespace}" tabindex="-1" role="dialog" aria-labelledby="newsletterModalLabel${randomNamespace}"> 
157                        <div class="modal-dialog" role="document"> 
158                            <div class="modal-content"> 
159                                <form action="//uzbrussel.us15.list-manage.com/subscribe/post?u=1e7287d4cebd4f5d498079359&amp;id=d96e7201a4" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> 
160                                    <div class="modal-header"> 
161                                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> 
162                                        <h4 class="modal-title" id="newsletterModalLabel${randomNamespace}"> 
163										<@liferay.language key="subscribe-newsletter" /> 
164                                        </h4> 
165                                    </div> 
166                                    <div class="modal-body"> 
167                                        <div id="mc_embed_signup"> 
168                                            <div id="mc_embed_signup_scroll"> 
169                                                <div class="indicates-required"><span class="asterisk">*</span> <@liferay.language key="required" /></div> 
170                                                <div class="mc-field-group"> 
171                                                    <label for="mce-EMAIL"><@liferay.language key="email-address" />  <span class="asterisk">*</span> 
172                                                    </label> 
173                                                    <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL"> 
174                                                </div> 
175                                                <div class="mc-field-group"> 
176                                                    <label for="mce-FNAME"><@liferay.language key="first-name" /> </label> 
177                                                    <input type="text" value="" name="FNAME" class="" id="mce-FNAME"> 
178                                                </div> 
179                                                <div class="mc-field-group"> 
180                                                    <label for="mce-LNAME"><@liferay.language key="last-name" /> </label> 
181                                                    <input type="text" value="" name="LNAME" class="" id="mce-LNAME"> 
182                                                </div> 
183                                                <div id="mce-responses" class="clear"> 
184                                                    <div class="response" id="mce-error-response" style="display:none"></div> 
185                                                    <div class="response" id="mce-success-response" style="display:none"></div> 
186                                                </div>    <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> 
187                                                <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_1e7287d4cebd4f5d498079359_d96e7201a4" tabindex="-1" value=""></div> 
188											<#--<div class="clear">--> 
189											<#--&lt;#&ndash;<input type="submit" value="Subscribe" name="<@liferay.language key="subscribe" />" id="mc-embedded-subscribe" class="button">&ndash;&gt;--> 
190											<#--</div>--> 
191                                            </div> 
192                                        </div> 
193                                    </div> 
194                                    <div class="modal-footer"> 
195                                        <button type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn btn-primary"><@liferay.language key="subscription" /></button> 
196                                        <button type="button" class="btn btn-default" data-dismiss="modal"><@liferay.language key="close" /></button> 
197                                    </div> 
198                                </form> 
199                            </div> 
200                        </div> 
201                    </div> 
202 
203                    <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';}(jQuery));var $mcj = jQuery.noConflict(true);</script> 
204 
205                </div> 
206            </div> 
207            <div class="col-sm-12 col-md-4"> 
208                <div class="more-panel"> 
209				<#-- Do this only when in the AssetPublisher Portlet --> 
210					<#if portletName == assetPublisherPortletName> 
211					<ul> 
212						<#list articles?sort_by("date") as item > 
213							<#if item?index < 5 > 
214								<li> 
215								    <#assign viewURL = baseURL + "/-/asset_publisher/" + portletDisplay.instanceId + "/content/" + item.urlTitle + "/maximized" /> 
216                                    <a href="${viewURL}"> 
217                                        <div class="main"> 
218                                            <div class="date"> 
219                                                <div class="day">${dateUtil.getDate(item.date, "dd", locale)}</div> 
220                                                <div class="month">${dateUtil.getDate(item.date, "MMM", locale)}</div> 
221                                            </div> 
222                                            <div class="title"> 
223												${item.title} 
224                                                <div class="location"> 
225													${item.location} 
226                                                </div> 
227                                            </div> 
228                                        </div> 
229                                    </a> 
230                                </li> 
231							</#if> 
232						</#list> 
233					<#--<li class="more">--> 
234					<#--<a href="/web${group.getFriendlyURL()}/events" class="uzb-button green">--> 
235					<#--<i class="fa fa-angle-left" aria-hidden="true"></i>--> 
236					<#--<@liferay.language key="more-events" />--> 
237					<#--</a>--> 
238					<#--</li>--> 
239                    </ul> 
240					</#if> 
241				<#-- Do this only when in the AssetPublisher Portlet --> 
242                    <a href="/web${group.getFriendlyURL()}/events" class="uzb-button green text-center" style="display: block"> 
243						<@liferay.language key="more-events" /> 
244                    </a> 
245                </div> 
246 
247 
248            </div> 
249        </div> 
250    </article> 
251</section>