DETALL_PRESTATGE_BASE

Busques informació

S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing:
==> imgSrc  [in template "10901#10934#PRESTATGE_MES_INFO_ENLLAÇ" at line 10, column 10]

----
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: #if (imgSrc != "")  [in template "10901#10934#PRESTATGE_MES_INFO_ENLLAÇ" at line 10, column 4]
----
1<#assign MAX_CHARACTERS_SIZE=150>  
2<#assign geniusGroupId="6200569"> 
3<#if (scopeGroupId?number != geniusGroupId?number)> 
4 
5    <#if (image.getData() != '')> 
6		<#assign imgSrc = image.getData()> 
7    <#elseif (image.urlExterna.getData() != '')> 
8		<#assign imgSrc= image.urlExterna.getData()> 
9    </#if> 
10   <#if (imgSrc != "")> 
11	<div class="busques_informacio image"> 
12            <div class="image"> 
13                <a href="${url.getData()}"><img src="${imgSrc}" /></a> 
14            </div> 
15            <div class="detail"> 
16                <a class="titol" href="${url.getData()}">${title.getData()}</a> 
17                <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p> 
18            </div> 
19        </div> 
20    <#else> 
21        <div class="busques_informacio no-image">         
22            <div class="detail"> 
23                <a class="titol" href="${url.getData()}">${title.getData()}</a> 
24                <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p> 
25            </div> 
26        </div> 
27    </#if> 
28<#else> 
29    <div class="busques_informacio"> 
30        <a class="titol" href="${url.getData()}">${title.getData()}</a> 
31        <#if (description.getData() != '' )> 
32            <div class="busques_informacio_detail"> 
33 
34            <#if (image.getData() != '' )> 
35                    <#assign imgSrc = image.getData()> 
36            <#elseif (image.urlExterna.getData() != '')> 
37                    <#assign imgSrc= image.urlExterna.getData()> 
38            </#if> 
39            <#if (imgSrc != "")>                 
40                <a href="${url.getData()}"><img src="${imgSrc}" /></a> 
41            </#if> 
42 
43                <p>${stringUtil.shorten(htmlUtil.stripHtml(description.getData()),MAX_CHARACTERS_SIZE)}</p> 
44            </div> 
45        </#if> 
46    </div> 
47</#if> 
Inaguracions a la Xarxa de Biblioteques

Actualitat

Gent com jo

Concursos

exemple exemple exemple