Contentverzamelaar

We moeten terug naar de essentie of ons gezondheidszorgsysteem wordt zelf erg ziek.

Er trad een fout op tijdens de verwerking van de sjabloon.
The string doesn't match the expected date/time/date-time format. The string to parse was: "Thu, 04 Mar 2021 16:29:27 +0000". The expected format was: "EEE, d MMM yyyy HH:mm:ss Z".
The nested reason given follows:
Unparseable date: "Thu, 04 Mar 2021 16:29:27 +0000"

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign modifiedDate = .vars["reserve...  [in template "31942#31983#BLOG TEMPLATE" at line 5, column 1]
----
1<#assign assetDisplay = liferay_asset["asset-display"] /> 
2<#setting time_zone = timeZone.ID> 
3<#setting locale = "nl_BE"> 
4<#setting datetime_format = "EEE, d MMM yyyy HH:mm:ss Z"> 
5<#assign modifiedDate = .vars['reserved-article-modified-date'].data?datetime?string["yyyy-MM-dd"] /> 
6<#assign langId = themeDisplay.getLocale() /> 
7 
8<#assign dateFormat = "dd MMMM yyyy" /> 
9<#assign langId = themeDisplay.getLocale() /> 
10 
11<#assign articleId = .vars['reserved-article-id'].data /> 
12<#assign articleTitle = .vars['reserved-article-title'].data /> 
13<#assign articleDisplayDate = .vars['reserved-article-display-date'].data?datetime /> 
14<#assign articleKeywords = restClient.get('/headless-delivery/v1.0/sites/${groupId}/structured-contents/by-key/${articleId}?fields=keywords').keywords![]> 
15<#assign group = restClient.get("/headless-admin-user/v1.0/sites/${groupId?number}") /> 
16 
17<#assign baseURL = themeDisplay.getSiteGroup().getDisplayURL(themeDisplay) /> 
18 
19<!-- controle of item mag getoond worden (positie_nl niet in franse taal tonen) --> 
20<#assign hiddenclass = "" /> 
21<#list articleKeywords as tag> 
22    <!-- ${langId}:  ${tag}, --> 
23    <#if ( 
24    (tag?string?starts_with("positie_nl") == true && langId?starts_with("fr")) 
25    || (tag?string?starts_with("positie_fr") == true && langId?starts_with("nl")) )> 
26        <#assign hiddenclass = "hidden" /> 
27    </#if> 
28</#list> 
29 
30<section class="news-events uzb-blog-detail" data-date="${modifiedDate}"> 
31    <article> 
32        <#if hiddenclass !='hidden'> 
33            <h1 style="margin-bottom: 10px">${articleTitle}</h1> 
34            <label class="blog"><@liferay.language key="blog-label" /></label> 
35            <span class="date"> 
36            <i class="fa fa-clock-o" aria-hidden="true"></i> 
37                ${dateUtil.getDate(articleDisplayDate, dateFormat, locale)} 
38             </span> 
39 
40 
41            <#assign assetTagNamesList = [] /> 
42            <#list articleKeywords as tag> 
43                <#if (tag?string?starts_with("positie_") == false)> 
44                    <#assign assetTagNamesList = assetTagNamesList + [ tag ] /> 
45                </#if> 
46            </#list> 
47            <#if assetTagNamesList?has_content> 
48                <span class="tag"> 
49                        <i class="fa fa-tag" aria-hidden="true"></i> 
50                            <#list assetTagNamesList as assetTagName> 
51                                <#if assetTagName?index == 0 > 
52                                    ${assetTagName} 
53                                <#else> 
54                                    - ${assetTagName} 
55                                </#if> 
56                            </#list> 
57                        </span> 
58            </#if> 
59 
60            <div class="content-text"> 
61                <#if abstract??> 
62                    <p> 
63                        <strong> 
64                            ${abstract.getData()} 
65                        </strong> 
66                    </p> 
67                </#if> 
68                <p> 
69                    ${content.getData()} 
70                </p> 
71            </div> 
72            <div class="profile"> 
73                <#if authorImage?? && authorImage.getData()?? && authorImage.getData() != "" > 
74                    <#assign fields = restClient.get('/headless-delivery/v1.0/sites/${themeDisplay.getScopeGroupId()}/structured-contents/by-key/${.vars["reserved-article-id"].data}?fields=contentFields').contentFields![] /> 
75                    <#list fields as field> 
76                        <#if field.name == 'authorImage'> 
77                            <#assign image = field.contentFieldValue.image!'' /> 
78                        </#if> 
79                    </#list> 
80                    <#if !image?is_string> 
81                        <div class="image" style="background-image: url('${authorImage.getData()}');"> 
82                            <img src="https://uzbthemecss-extq4j9uzbrussel-extprd.lfr.cloud/images/circle-mask.png" alt="${authorName.getData()}" 
83                                 class="print-hidden"/> 
84                            <img src="${image.contentUrl}" class="print-only" alt="${authorName.getData()}"/> 
85                        </div> 
86                    </#if> 
87                </#if> 
88                <div class="text"> 
89                    <#if authorName.getData() != "" > 
90                        <div class="name">${authorName.getData()}</div> 
91                    </#if> 
92                    <#if authorTitle.getData() != "" > 
93                        <div class="title">${authorTitle.getData()}</div> 
94                    </#if> 
95                    <#if authorDescription.getData() != "" > 
96                        <div class="description">${authorDescription.getData()}</div> 
97                    </#if> 
98                </div> 
99            </div> 
100 
101            <#if langId?starts_with("nl") && extra?? && extra.block?? && extra.block.data?? && extra.block.data?has_content && extra.block.data?eval_json.assetEntryId??> 
102                <#list extra.block.getSiblings() as entry> 
103                    <#if entry.getType() == "journal-article" && entry.getData() != "" && entry.getData()?eval_json.assetEntryId??> 
104                        <#assign article = entry.getData()?eval /> 
105 
106                        <@assetDisplay className=article.className classPK=getterUtil.getLong(article.classPK, 0) /> 
107                    </#if> 
108                </#list> 
109            </#if> 
110 
111            <#if langId?starts_with("fr") && extra_fr?? && extra_fr.block_fr?? && extra_fr.block_fr.data?? && extra_fr.block_fr.data?has_content && extra_fr.block_fr.data?eval_json.assetEntryId??> 
112                <#list extra_fr.block_fr.getSiblings() as entry> 
113                    <#if entry.getType() == "journal-article" && entry.getData() != "" && entry.getData()?eval_json.assetEntryId??> 
114                        <#assign article = entry.getData()?eval /> 
115 
116                        <@assetDisplay className=article.className classPK=getterUtil.getLong(article.classPK, 0) /> 
117                    </#if> 
118                </#list> 
119            </#if> 
120 
121            <div class="actions"> 
122                <div class="uzb-share gray" data-value="${articleTitle}"></div> 
123                <#if (langId?starts_with("nl")) > 
124                    <a href="<@liferay.language key="newsletter-dialog-link-url" />" target="_blank" 
125                       class="uzb-button green subscribe-link"> 
126                        <span> 
127                            <@liferay.language key="subscribe-newsletter" /> 
128                        </span> 
129                        <svg class="icon icon-tabler icon-tabler-arrow-right" fill="none" height="24" 
130                             stroke="currentColor" 
131                             stroke-linecap="round" stroke-linejoin="round" stroke-width="1" viewbox="0 0 24 24" 
132                             width="24" 
133                             xmlns="http://www.w3.org/2000/svg"> 
134                            <path d="M0 0h24v24H0z" fill="none" stroke="none"></path> 
135                            <line x1="5" x2="19" y1="12" y2="12"></line> 
136                            <line x1="13" x2="19" y1="18" y2="12"></line> 
137                            <line x1="13" x2="19" y1="6" y2="12"></line> 
138                        </svg> 
139                    </a> 
140                </#if> 
141            </div> 
142        <#else> 
143            <@liferay.language key="blog-not-available" /> 
144            <div> 
145                <a href="/web${group.friendlyUrlPath}/blog-archive" class="uzb-button green text-center" 
146                   style="display: inline-block; margin-top: 20px;"> 
147                    <span> 
148                        <@liferay.language key="blog-other" /> 
149                    </span> 
150                    <svg class="icon icon-tabler icon-tabler-arrow-right" fill="none" height="24" 
151                         stroke="currentColor" 
152                         stroke-linecap="round" stroke-linejoin="round" stroke-width="1" viewbox="0 0 24 24" 
153                         width="24" 
154                         xmlns="http://www.w3.org/2000/svg"> 
155                        <path d="M0 0h24v24H0z" fill="none" stroke="none"></path> 
156                        <line x1="5" x2="19" y1="12" y2="12"></line> 
157                        <line x1="13" x2="19" y1="18" y2="12"></line> 
158                        <line x1="13" x2="19" y1="6" y2="12"></line> 
159                    </svg> 
160                </a> 
161            </div> 
162        </#if> 
163 
164        <div class="newsletter-dialog"> 
165            <div class="newsletter-dialog__container"> 
166                <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-mail-opened" width="80" 
167                     height="80" viewBox="0 0 40 40" stroke-width="1.5" stroke="currentColor" fill="none" 
168                     stroke-linecap="round" stroke-linejoin="round"> 
169                    <g stroke="none" stroke-width="1.5" fill="none" fill-rule="evenodd"> 
170                        <g id="Group"> 
171                            <polygon id="Path" points="0 0 40 0 40 40 0 40"></polygon> 
172                            <path d="M20,30 L8.33333333,30 C6.49238417,30 5,28.5076158 5,26.6666667 L5,10 C5,8.15905083 6.49238417,6.66666667 8.33333333,6.66666667 L31.6666667,6.66666667 C33.5076158,6.66666667 35,8.15905083 35,10 L35,22.5" 
173                                  id="Path" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path> 
174                            <polyline id="Path" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" 
175                                      points="5 10 20 20 35 10"></polyline> 
176                        </g> 
177                        <g id="Group" transform="translate(22.000000, 22.000000)"> 
178                            <polygon id="Path" points="0 0 14 0 14 14 0 14"></polygon> 
179                            <circle id="Oval" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" cx="7" 
180                                    cy="7" r="2.33333333"></circle> 
181                            <path d="M9.33333333,7 L9.33333333,7.875 C9.33333333,8.68041526 9.98625141,9.33333333 10.7916667,9.33333333 C11.5970819,9.33333333 12.2500044,8.68041526 12.2500044,7.875 L12.2500044,7 C12.2529766,4.68362667 10.7375084,2.63904217 8.52039354,1.96822466 C6.30327872,1.29740716 3.90853655,2.15890562 2.62687112,4.08839467 C1.34520569,6.01788371 1.47954104,8.55932497 2.95747389,10.3429473 C4.43540674,12.1265697 6.90762487,12.7308107 9.04166667,11.83" 
182                                  id="Path" stroke="#000000" stroke-linecap="round" stroke-linejoin="round"></path> 
183                        </g> 
184                    </g> 
185                </svg> 
186                <button class="newsletter-dialog__close"> 
187                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> 
188                        <path fill="none" d="M0 0h24v24H0z"/> 
189                        <path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"/> 
190                    </svg> 
191                </button> 
192                <h2><@liferay.language key="newsletter-dialog-title" /></h2> 
193                <p><@liferay.language key="newsletter-dialog-description" /></p> 
194                <a href="<@liferay.language key="newsletter-dialog-link-url" />" target="_blank" 
195                   class="uzb-button green-full"> 
196                    <span> 
197                        <@liferay.language key="newsletter-dialog-link-label" /> 
198                    </span> 
199                    <svg class="icon icon-tabler icon-tabler-arrow-right" fill="none" height="24" stroke="currentColor" 
200                         stroke-linecap="round" stroke-linejoin="round" stroke-width="1" viewbox="0 0 24 24" width="24" 
201                         xmlns="http://www.w3.org/2000/svg"> 
202                        <path d="M0 0h24v24H0z" fill="none" stroke="none"></path> 
203                        <line x1="5" x2="19" y1="12" y2="12"></line> 
204                        <line x1="13" x2="19" y1="18" y2="12"></line> 
205                        <line x1="13" x2="19" y1="6" y2="12"></line> 
206                    </svg> 
207                </a> 
208            </div> 
209        </div> 
210    </article> 
211</section> 
212<script> 
213    hideCookieContent(); 
214</script> 

Contentverzamelaar