Errorea gertatu da txantiloia prozesatzerakoan.
The following has evaluated to null or missing:
==> category.taxonomyVocabularyId [in template "32250#32291#950246" at line 15, column 22]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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 category.taxonomyVocabularyId == ... [in template "32250#32291#950246" at line 15, column 17]
----
1<#assign articleId = .vars["reserved-article-id"].data?number +2>
2<#assign article = restClient.get("/headless-delivery/v1.0/structured-contents/${articleId}")>
3<#assign imagenCompromiso = "">
4<#assign categoriaCompromiso = "">
5<#assign titleCompromiso = "">
6<#assign contenidoOk = false>
7<#assign color = ""/>
8<#assign background = ""/>
9
10<#assign articlesCompromisos = restClient.get("/headless-delivery/v1.0/structured-content-folders/950654/structured-contents")/>
11
12<#if article.taxonomyCategoryBriefs?? && article.taxonomyCategoryBriefs?has_content>
13 <#list article.taxonomyCategoryBriefs as taxonomyCategory>
14 <#assign category = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-categories/${taxonomyCategory.taxonomyCategoryId}")>
15 <#if category.taxonomyVocabularyId == 950514>
16 <#assign categoriaCompromiso = category.id>
17 </#if>
18 </#list>
19</#if>
20
21<#list articlesCompromisos.items as article>
22 <#list article.taxonomyCategoryBriefs as taxonomyCategory>
23 <#assign category = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-categories/${taxonomyCategory.taxonomyCategoryId}")/>
24 <#if category??>
25 <#if category.id == categoriaCompromiso>
26 <#list category.taxonomyCategoryProperties as property>
27 <#if property.key = "color">
28 <#assign color = property.value/>
29 </#if>
30 <#if property.key = "background">
31 <#assign background = property.value/>
32 </#if>
33 </#list>
34 <#list article.contentFields as field>
35 <#if field.name = "imagen" && field.contentFieldValue?has_content>
36 <#assign imagenCompromiso = field.contentFieldValue.image.contentUrl/>
37 </#if>
38 </#list>
39 <#assign titleCompromiso = article.title/>
40 <#break/>
41 </#if>
42 </#if>
43 </#list>
44</#list>
45
46
47<div class="dtik-wave__item" style="background-color: ${background}">
48 <div class="dtik-wave__item__img m-with-text" style="background-image: url('${imagenCompromiso}');">
49 <p class="dtik-wave__item__subtitle" data-lfr-editable-id="text2" data-lfr-editable-type="rich-text">${titleCompromiso}</p>
50 <svg viewBox="0 0 869 65" xmlns="http://www.w3.org/2000/svg" class="m-soft" style="fill: ${background}">
51 <path fill-rule="evenodd" clip-rule="evenodd" d="M869 0C731.55 36.8491 630.627 28.9964 520.255 20.4085C387.318 10.065 240.676 -1.34507 0 63.0001V64.2317H869L869 0Z"></path>
52 </svg>
53 <svg viewBox="0 0 869 74" xmlns="http://www.w3.org/2000/svg" class="m-dark" style="fill: ${color}">
54 <g clip-path="url(#clip0_115_1253)">
55 <path fill-rule="evenodd" clip-rule="evenodd" d="M869 21.2218V74H0V25.2215C208.014 -18.8834 368.844 4.1445 510.609 24.4426C638.725 42.7865 751.271 58.9009 869 21.2218Z"></path>
56 </g><defs>
57 <clipPath id="clip0_115_1253">
58 <rect width="869" height="74" transform="matrix(-1 0 0 1 869 0)"></rect>
59 </clipPath>
60 </defs>
61 </svg>
62 </div>
63 <h1 class="dtik-wave__item__text">
64 <span class="dtik-font-demi" style="color: ${color}">${.vars["reserved-article-title"].data}</span>
65 </h1>
66</div>
67<input type="hidden" id="projectId" value="${projectId.getData()}"/>
Industria- eta enpresa-lurzoru gehiago ematea hiriari, kalitatezko enplegu egonkorra sortuko duten industria berriak ezartzeko modua izateko.
Ekimenak
- Belartza II, beste 210.000 m2 gehitzea parkeari: industria-jardueretarako (% 49), jarduera logistikoetarako (% 22) eta zerbitzu-jardueretarako (% 29).
- 27. poligonoa: hobekuntzak eta berregokitzea.
- Zuatzu: Infernu aldera zabaltzea.
Hiriaren hazkundea
Ekonomia eta enplegua
Industria-jarduera berritzailea
Kalitatezko enplegua