Search the catalogue

Asset Publisher

An error occurred while processing the template.
The string doesn't match the expected date/time/date-time format. The string to parse was: "". The expected format was: "yyyy-MM-dd".
The nested reason given follows:
Unparseable date: ""

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign eventDate = eventDate?date("y...  [in template "7736762#7736796#7739051" in macro "getLocalization" at line 165, column 13]
	- Reached through: @getLocalization id="eventDate"  [in template "7736762#7736796#7739051" at line 20, column 21]
----
1<#assign SiteGroup = themeDisplay.getSiteGroup() /> 
2<#assign displayUrl = SiteGroup.getDisplayURL(themeDisplay) /> 
3<#assign currentUrl = themeDisplay.getLayout().getFriendlyURL()?remove_beginning("/") /> 
4 
5<div class="calendar-list-container"> 
6    <ul class="calendar-list"> 
7        <#if entries?has_content> 
8            <#list entries as curEntry> 
9                <#assign renderer = curEntry.getAssetRenderer() /> 
10                <#assign className = renderer.getClassName() > 
11                <#if className == "com.liferay.journal.model.JournalArticle"> 
12                    <#assign article = renderer.getArticle() > 
13                    <#assign img = article.getSmallImageURL() > 
14                    <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> 
15                    <#assign viewURL = renderer.getURLViewInContext(renderRequest, renderResponse, viewURL ) /> 
16                    <#assign docXml = saxReaderUtil.read(article.getContentByLocale(locale)) /> 
17                    <#assign title = renderer.getTitle(locale) /> 
18                    <#assign eventsTitle = renderer.getTitle(locale) /> 
19                    <#assign eventDate = docXml.valueOf("//dynamic-element[@name='eventDate']/dynamic-content/text()")/> 
20                    <@getLocalization id="eventDate" /> 
21                    <#assign eventEndDate = docXml.valueOf("//dynamic-element[@name='eventEndDate']/dynamic-content/text()")/> 
22                    <#assign eventTime = docXml.valueOf("//dynamic-element[@name='eventTime']/dynamic-content/text()") /> 
23                    <#assign eventLocation = docXml.valueOf("//dynamic-element[@name='eventLocation']/dynamic-content/text()") /> 
24                    <#assign documentsAndMediaImage = docXml.valueOf("//dynamic-element[@name='documentsAndMediaImage']/dynamic-content/text()") /> 
25                    <#assign eventImgAlt = docXml.valueOf("//dynamic-element[@name='eventImgAlt']/dynamic-content/text()") /> 
26 
27                    <li class="entry"> 
28                        <div class="lfr-meta-actions asset-actions clearfix"><@getEditIcon /></div> 
29                        <a href="${viewURL}"> 
30                            <#if (documentsAndMediaImage!= "") && (eventImgAlt !="")> 
31                                <div class="calendar-image"> 
32                                    <img src="${documentsAndMediaImage}" alt="${eventImgAlt}"/> 
33                                </div> 
34                            <#elseif documentsAndMediaImage != ""> 
35                                <div class="calendar-image"> 
36                                    <img src="${documentsAndMediaImage}" alt="${title}"/> 
37                                </div> 
38                            </#if> 
39                            <div class="calendar-inner-wrapper"> 
40                                <h3 class="calendar-title">${eventsTitle}</h3> 
41                                <div class="calendar-date"> 
42                                    <span class="visually-hidden"><@getLocalization id="event_start_date" /></span> 
43                                    <span>${eventDate}</span> 
44                                    <#if eventEndDate?? && eventEndDate !=""> 
45                                        <@getLocalization id = "eventEndDate" /> 
46                                        <span class="end-date"> 
47                                            <span class="visually-hidden"><@getLocalization id="event_end_date" /></span> 
48                                            <span> - ${eventEndDate}</span> 
49                                        </span> 
50                                    </#if> 
51                                </div> 
52                                <div class="calendar-time"> 
53                                    <span class="visually-hidden"><@getLocalization id="event_time" /></span> 
54                                    <#if eventTime?? && eventTime !=""> 
55                                        ${eventTime} 
56                                    </#if>     
57                                </div> 
58                                <div class="calendar-location"> 
59                                    <span class="visually-hidden"><@getLocalization id="event_location" /></span> 
60                                    <#if eventLocation?? && eventLocation !=""> 
61                                        ${eventLocation} 
62                                    </#if> 
63                                </div> 
64                            </div> 
65                        </a> 
66                    </li> 
67                </#if> 
68            </#list> 
69        </#if> 
70    </ul> 
71 
72        <@getLocalization id="events_all_link" /> 
73        <#if currentUrl?contains(eventsAllLink)> 
74        <#else> 
75            <div class="events-all"> 
76                <a class="events-all-link" href="${displayUrl}/${eventsAllLink}"><@getLocalization id="show_all" /></a> 
77            </div> 
78        </#if> 
79</div> 
80<#macro getLocalization id> 
81    <#if locale == "fi_FI"> 
82        <#setting date_format = "yyyy-MM-dd"> 
83        <#if id == "event_location"> 
84            Paikka 
85        <#elseif id == "event_address"> 
86            Osoite 
87        <#elseif id == "event_start_time"> 
88            Päivä 
89        <#elseif id == "event_end_time"> 
90            Lopetuspäivämäärä 
91        <#elseif id == "event_day"> 
92            Päivä 
93        <#elseif id == "event_time"> 
94            Aika 
95        <#elseif id == "eventDate"> 
96            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
97        <#elseif id == "eventEndDate"> 
98            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
99        <#elseif id == "events_all_link"> 
100            <#assign eventsAllLink = "evenemang" /> 
101        <#elseif id == "show_all"> 
102            Näytä kaikki tapahtumat 
103        </#if> 
104    <#elseif locale == "sv_SE"> 
105        <#setting date_format = "yyyy-MM-dd"> 
106        <#if id == "event_location"> 
107            Plats 
108        <#elseif id == "event_address"> 
109            Adress 
110        <#elseif id == "event_start_date"> 
111            Startdatum 
112        <#elseif id == "event_end_date"> 
113            Slutdatum 
114        <#elseif id == "event_day"> 
115            Datum 
116        <#elseif id == "event_time"> 
117            Tid 
118        <#elseif id == "eventDate"> 
119            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
120        <#elseif id == "eventEndDate"> 
121            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
122        <#elseif id == "events_all_link"> 
123            <#assign eventsAllLink = "evenemang" /> 
124        <#elseif id == "show_all"> 
125            Visa alla evenemang 
126        </#if> 
127    <#elseif locale == "nb_NO"> 
128        <#setting date_format = "yyyy-MM-dd"> 
129        <#if id == "event_location"> 
130            Sted 
131        <#elseif id == "event_address"> 
132            Adresse 
133        <#elseif id == "event_start_date"> 
134            Startdato 
135        <#elseif id == "event_end_date"> 
136            Sluttdato 
137        <#elseif id == "event_day"> 
138            Dato 
139        <#elseif id == "event_time"> 
140            Tidspunkt 
141        <#elseif id == "eventDate"> 
142            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
143        <#elseif id == "eventEndDate"> 
144            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
145        <#elseif id == "events_all_link"> 
146            <#assign eventsAllLink = "evenemang" /> 
147        <#elseif id == "show_all"> 
148            Vis alle arrangementer 
149        </#if> 
150    <#elseif locale == "en_GB"> 
151        <#setting date_format = "MM/dd/yyyy"> 
152        <#if id == "event_location"> 
153            Place 
154        <#elseif id == "event_address"> 
155            Address 
156        <#elseif id == "event_start_date"> 
157            Date 
158        <#elseif id == "event_end_date"> 
159            End date 
160        <#elseif id == "event_day"> 
161            Date 
162        <#elseif id == "event_time"> 
163            Time 
164        <#elseif id == "eventDate"> 
165            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
166        <#elseif id == "eventEndDate"> 
167            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
168        <#elseif id == "events_all_link"> 
169            <#assign eventsAllLink = "events" /> 
170        <#elseif id == "show_all"> 
171            Show all events 
172        </#if> 
173    <#elseif locale == "de_DE"> 
174        <#setting date_format = "dd.MM.yyyy"> 
175        <#if id == "event_location"> 
176            Bibliothek 
177        <#elseif id == "event_address"> 
178            Adresse 
179        <#elseif id == "event_start_date"> 
180            Datum 
181        <#elseif id == "event_end_date"> 
182            Endtermin 
183        <#elseif id == "event_day"> 
184            Datum 
185        <#elseif id == "event_time"> 
186            Zeit 
187        <#elseif id == "eventDate"> 
188            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
189        <#elseif id == "eventEndDate"> 
190            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
191        <#elseif id == "events_all_link"> 
192            <#assign eventsAllLink = "veranstaltungen" /> 
193        <#elseif id == "show_all"> 
194            Alle Veranstaltungen anzeigen 
195        </#if> 
196    <#else> 
197        <#setting date_format = "MM/dd/yyyy"> 
198        <#if id == "event_location"> 
199            Place 
200        <#elseif id == "event_address"> 
201            Address 
202        <#elseif id == "event_start_date"> 
203            Start date 
204        <#elseif id == "event_end_date"> 
205            End date 
206        <#elseif id == "event_day"> 
207            Date 
208        <#elseif id == "event_time"> 
209            Time 
210        <#elseif id == "eventDate"> 
211            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
212        <#elseif id == "eventEndDate"> 
213            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
214        <#elseif id == "events_all_link"> 
215            <#assign eventsAllLink = "events" /> 
216        <#elseif id == "show_all"> 
217            Show all events 
218        </#if> 
219    </#if> 
220</#macro> 
221 
222<#macro getEditIcon> 
223    <#if renderer.hasEditPermission(themeDisplay.getPermissionChecker())> 
224        <#assign redirectURL = renderResponse.createRenderURL() /> 
225 
226        ${redirectURL.setParameter("struts_action", "/asset_publisher/add_asset_redirect")} 
227        ${redirectURL.setWindowState("pop_up")} 
228 
229        <#assign editPortletURL = renderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL) /> 
230 
231        <#if validator.isNotNull(editPortletURL)> 
232            <#assign title = languageUtil.format(locale, "edit-x", htmlUtil.escape(renderer.getTitle(locale))) /> 
233 
234            <@liferay_ui["icon"] 
235            <#--image="edit"--> 
236            iconCssClass="icon-edit" 
237            message=title 
238            url="javascript:Liferay.Util.openWindow({dialog: {width: 960}, id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});" 
239            /> 
240        </#if> 
241    </#if> 
242</#macro> 

Results list

358108
Author: Salmson, Jo
353429
Author: Hällen, Ylva
357899
Author: Sykes, Julie
356789
Author: Fröberg, Maria
357900
Author: Sykes, Julie
356613
Author: Tydén, Katja
356553
356612
Author: Topelius, Zacharias
356609
Author: Sundh, Cecilia
356604
Author: Bister, Mari

Results list

356614
Book:Thure & vattenhästens öga:2020:Upplaga 2, bearbetad 2020. Book
Author: Arvidson W., Monic
Year: 2020
Language: Swedish
Shelf mark: Hcg
Media class: Book
Edition: Upplaga 2, bearbetad 2020.
Publisher: Phantasia förlag
Resource type: Physical
En stor fågel kom flaxande rakt på mig, det brände till på kinden. Lara, flygvärdinnan, fick tag på min arm när jag tappade balansen. Fågeln vände och slog med vingarna bort över flygplatsen. Efter den följde en svans med fåglar som skriade; kraa, kra, kraa! Så börjar Thures första minuter i Zimbabwe, innan mormor som arbetar på barnhemmet kommer och hämtar honom tillsammans med hushållerskan, Amadi. På kvällen berättar Amadi en berättelse om en ond och mäktig häxdoktor som levde för flera hundra år sedan. Nästa dag ställs allt på ända. Thures bästis, Thom, försvinner och en jättehäst visar sig på barnhemmets gård. En främmande och gåtfull kvinna visar sig vid vattenhålet på torget, en gammal skriftrulle med uråldriga tecken varnar för faror. Allt leder dem vidare i pusslet som i slutändan visar sig vara ett av Afrikas mest spännande mysterier.
Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating
357950
Book:Vår trädkoja med 130 våningar:2020 Book
Author: Griffiths, Andy
Year: 2020
Language: Swedish
Shelf mark: Hcg
Media class: Book
Publisher: Alfabeta
Resource type: Physical
Selected rating Selected rating Selected rating Selected rating Selected rating Selected rating Selected rating Provide rating Provide rating Provide rating
357231
Book:Ängeln i London:2020 Book
Author: Ekbom, Charlotte
Year: 2020
Language: Swedish
Shelf mark: Hcg
Media class: Book
Publisher: Idus
Resource type: Physical
Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating
357008
Book:Wilma:2020 Book
Author: Dahlgren, Helena
Year: 2020
Language: Swedish
Shelf mark: Hcg
Media class: Book
Publisher: Hedvig
Resource type: Physical
Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating
357035
Book:Det går en mördare lös - en historia från år 1721:2020 Book
Author: Holmqvist, Kalle
Year: 2020
Language: Swedish
Shelf mark: Hcg
Media class: Book
Publisher: Liber
Resource type: Physical
Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating
357230
Book:Flykten till Amerika:2020 Book
Author: Lagerqvist, Camilla
Year: 2020
Language: Swedish
Shelf mark: Hcg
Media class: Book
Publisher: Bonnier Carlsen
Resource type: Physical
Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating
357232
Book:Försvunnen i New York:2020 Book
Author: Lagerqvist, Camilla
Year: 2020
Language: Swedish
Shelf mark: Hcg
Media class: Book
Publisher: Bonnier Carlsen
Resource type: Physical
Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating
356615
Book:Som en tjuv i natten:2020 Book
Author: Schjødt Larsen, Bjarke
Year: 2020
Language: Swedish
Shelf mark: Hcg
Media class: Book
Publisher: Hegas
Resource type: Physical
Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating
356154
Book:Bästa bandet:2020 Book
Author: Fäldt, Emma
Year: 2020
Language: Swedish
Shelf mark: Hcg
Media class: Book
Publisher: Cuervo
Resource type: Physical
Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating
356617
Book:Kodnamn MarvinX:2020 Book
Author: Bergman, Catherine
Year: 2020
Language: Swedish
Shelf mark: Hcg
Media class: Book
Publisher: Idus
Resource type: Physical
Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating Provide rating

Results list

353053
Author: Jönsson, Camilla
355544
Author: Nguyen, Lena Sophie
356621
Author: Sahlin, Pär
356555
Author: Pullman, Philip
357183
Author: Hahn, Kerstin L
357184
Author: Hahn, Kerstin L
355101
Author: Frey-Skøtt, Emma
355216
Author: Wahldén, Christina
354891
Author: Rai, Bali
354717
Author: Susso, Eva

Language

de-de en-gb fr-fr