Se ha producido un error al procesar la plantilla.
Can't convert this string to number: ""
The blamed expression:
==> img?keep_after("documents/")?keep_before("/")?number  [in template "20097#20123#20445699" at line 192, column 30]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: groupIdImage = img?keep_after("docume...  [in template "20097#20123#20445699" at line 192, column 15]
----
1<style type="text/css"> 
2  .rel_home_image_uninorte{ 
3  width:100%; 
4  max-width: 386px; 
5  max-height:280px; 
6
7  .rel_home_textos{ 
8  max-width: 600px; 
9  padding-left: 2rem; 
10
11  .rel_home_row{ 
12  display: flex; 
13  flex-direction: row; 
14  margin-top: 2rem; 
15  justify-content: space-evenly; 
16
17  .container_noticia_principal{ 
18  background-color: #f6f6f6!important; 
19  overflow: auto; 
20  padding: 25px; 
21  position: relative; 
22  display:flex;  
23  flex-direction:row 
24  max-width: 915px; 
25  min-height: 280px; 
26  justify-content: center; 
27  align-items:center; 
28  }  
29  .container_noticia_sec{ 
30  background-color: #e6e6e6!important; 
31  overflow: auto; 
32  padding: 25px; 
33  position: relative; 
34  display:flex;  
35  flex-direction:row 
36  max-width: 915px; 
37  max-height: 280px; 
38  justify-content: center; 
39  align-items:center; 
40  }  
41  .rel_home_card_title { 
42  margin-bottom: 1rem; 
43  margin-top:0; 
44
45  .rel_home_card_link { 
46  color: inherit; 
47  text-decoration: none; 
48
49  .rel_home_card_link:hover { 
50  color: blue; 
51  opacity: .8; 
52  transition: all .2s ease-in; 
53
54  .rel_home_card_description { 
55  min-height: 170px; 
56  max-height:250px; 
57
58  .rel_home_card_date { 
59  margin-bottom:4px; 
60  display: block; 
61
62  @media (max-width:798px){ 
63  .rel_home_row{ 
64  flex-direction: column; 
65
66  .container_noticia_principal{ 
67  flex-direction:column; 
68  }  
69
70</style> 
71<#global $contador = 1> 
72<#--  Truncate Text  --> 
73<#macro truncate_text text limit> 
74<#assign truncatedText = "" /> 
75<#if text?length gt limit> 
76<#assign truncatedText = text?substring(0,limit)/> 
77<#assign truncatedText = truncatedText + "..."/> 
78${truncatedText} 
79<#else> 
80${text} 
81</#if> 
82</#macro> 
83<div class="container adtnoticias"> 
84  <div class="row"> 
85    <div class="col-md-12"> 
86      <#if entries?has_content> 
87      <#list entries as curEntry> 
88      <#assign  
89      renderer = curEntry.getAssetRenderer()                                     
90      className = renderer.getClassName()                                 
91      /> 
92      <#assign   
93      slash="/" 
94      constantDocuments="documents" 
95      journalArticle = renderer.getArticle() 
96      document = saxReaderUtil.read(journalArticle.getContent()) 
97      rootElement = document.getRootElement() 
98      fecha = curEntry.getPublishDate()?datetime?string["MMM dd, yyyy"]  
99      /> 
100            <#assign news_friendlyURL=assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry)?keep_before("?")?keep_after("content/")/> 
101            <#assign viewURL="/web/grupo-prensa/w/${news_friendlyURL}"/> 
102      <#if $contador == 1> 
103      <#assign ampersand = "&#38;"> 
104      <!-- Nueva forma de leer imagen destacada (sin servicios) --> 
105      <#assign 
106      img = journalArticle.getSmallImageURL() 
107      /> 
108      <!-- Leer descripción de imagen destacada --> 
109      <#assign  
110            dlFileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") 
111            /> 
112           <#if img?has_content>   
113             <#assign 
114              uuid1=img?keep_before("?")?keep_after_last("/")  
115              groupIdImage = img?keep_after("documents/")?keep_before("/")?number 
116              step1 = dlFileEntryService.getFileEntryByUuidAndGroupId(uuid1, groupIdImage) 
117             /> 
118           </#if>   
119      <div> 
120        <div class="container_noticia_principal" > 
121          <div class="rel_home_image_uninorte"> 
122            <a href="${viewURL}" class="rel_home_card_link"> 
123            <#if img?has_content>     
124            <!--asignar descripción en texto alt si tiene, y si no que muestre el mismo titulo de la imagen--> 
125               <#if step1.getDescription()?has_content> 
126                 <img class="rel_home_image_uninorte" src="${img}" alt="${step1.getDescription()}" style="width:100%"/> 
127                <#else> 
128                  <img class="rel_home_image_uninorte" src="${img}" alt="${step1.getTitle()}" style="width:100%"/> 
129                </#if> 
130            <!--termina el alt y sigue con condicional de agregar logo UN en caso de que no tenga imagen destacada por mostrar--> 
131            <#else> 
132            <img class="rel_home_image_uninorte" src="https://www.uninorte.edu.co/documents/13400067/14601182/Logo_Uninorte.jpg/48cf4a2c-1cb9-3ea3-f675-dc4096815673?t=1667419477389" alt="Uninorte logo" style="width:100%"/> 
133            </#if> 
134             
135             
136            </a> 
137          </div> 
138          <div class="rel_home_textos span8"> 
139            <h2 class="rel_home_card_title"> 
140              <a href="${viewURL}" class="rel_home_card_link">                                                 
141             ${stringUtil.shorten(curEntry.getTitle(locale), 200)} 
142              </a> 
143            </h2> 
144            <span class="rel_home_card_date"> 
145              <p> 
146                <b> 
147              <#if fecha?contains("Jan")> 
148                                    ${fecha?replace("Jan", "Ene")} 
149                                <#elseif fecha?contains("Apr")> 
150                                    ${fecha?replace("Apr", "Abr")} 
151                                <#elseif fecha?contains("Aug")> 
152                                    ${fecha?replace("Aug", "Ago")} 
153                                <#elseif fecha?contains("Dec")> 
154                                    ${fecha?replace("Dec", "Dic")} 
155                                <#else> 
156                                    ${fecha} 
157                                </#if> 
158                </b> 
159              </p> 
160            </span> 
161            <span class="rel_home_card_description"> 
162              <p> 
163                ${stringUtil.shorten(curEntry.getSummary(locale), 500)} 
164              </p> 
165            </span> 
166            <script>(function(d, s, id) { 
167              var js, fjs = d.getElementsByTagName(s)[0]; 
168              if (d.getElementById(id)) return; 
169              js = d.createElement(s); js.id = id; 
170              js.src = "//connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v2.7"; 
171              fjs.parentNode.insertBefore(js, fjs); 
172              }(document, 'script', 'facebook-jssdk')); 
173            </script> 
174          </div> 
175        </div> 
176      </div> 
177      <#assign $contador = 2> 
178      <#assign $indicador = "inicio"> 
179      <#else> 
180      <#if ($indicador == "inicio")> 
181      <!-- Nueva forma de leer imagen destacada (sin servicios) --> 
182      <#assign 
183      img = journalArticle.getSmallImageURL() 
184      /> 
185      <!-- Leer descripción de imagen destacada --> 
186      <#assign  
187            dlFileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") 
188            /> 
189           <#if img?has_content>   
190             <#assign 
191              uuid1=img?keep_before("?")?keep_after_last("/")  
192              groupIdImage = img?keep_after("documents/")?keep_before("/")?number 
193              step1 = dlFileEntryService.getFileEntryByUuidAndGroupId(uuid1, groupIdImage) 
194             /> 
195           </#if>   
196      <div class="rel_home_row" style=""> 
197        <div class="span6 noticias" style="max-width:450px; margin:3px"> 
198          <div class="headline-content"> 
199            <div class="rel_home_textos span8" style="max-width:470px; padding-left:2rem"> 
200              <h2 class="rel_home_card_title"> 
201                <a href="${viewURL}" class="rel_home_card_link">                                                 
202                ${stringUtil.shorten(curEntry.getTitle(locale), 200)} 
203                </a> 
204              </h2> 
205              <span class="rel_home_card_date"> 
206                <p> 
207                  <b> 
208                  <#if fecha?contains("Jan")> 
209                                    ${fecha?replace("Jan", "Ene")} 
210                                <#elseif fecha?contains("Apr")> 
211                                    ${fecha?replace("Apr", "Abr")} 
212                                <#elseif fecha?contains("Aug")> 
213                                    ${fecha?replace("Aug", "Ago")} 
214                                <#elseif fecha?contains("Dec")> 
215                                    ${fecha?replace("Dec", "Dic")} 
216                                <#else> 
217                                    ${fecha} 
218                                </#if> 
219                  </b> 
220                </p> 
221              </span> 
222              <div class="rel_home_image_uninorte"> 
223                <a href="${viewURL}" class="rel_home_card_link">  
224            <#if img?has_content>     
225            <!--asignar descripción en texto alt si tiene, y si no que muestre el mismo titulo de la imagen--> 
226               <#if step1.getDescription()?has_content> 
227                 <img class="rel_home_image_uninorte" src="${img}" alt="${step1.getDescription()}" style="width:100%"/> 
228                <#else> 
229                  <img class="rel_home_image_uninorte" src="${img}" alt="${step1.getTitle()}" style="width:100%"/> 
230                </#if> 
231            <!--termina el alt y sigue con condicional de agregar logo UN en caso de que no tenga imagen destacada por mostrar--> 
232            <#else> 
233            <img class="rel_home_image_uninorte" src="https://www.uninorte.edu.co/documents/13400067/14601182/Logo_Uninorte.jpg/48cf4a2c-1cb9-3ea3-f675-dc4096815673?t=1667419477389" alt="Uninorte logo" style="width:100%"/> 
234            </#if> 
235                </a> 
236              </div> 
237              <span class="rel_home_card_description"> 
238                <p> 
239                  ${stringUtil.shorten(curEntry.getSummary(locale), 500)} 
240 
241                </p> 
242              </span> 
243              <script>(function(d, s, id) { 
244                var js, fjs = d.getElementsByTagName(s)[0]; 
245                if (d.getElementById(id)) return; 
246                js = d.createElement(s); js.id = id; 
247                js.src = "//connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v2.7"; 
248                fjs.parentNode.insertBefore(js, fjs); 
249                }(document, 'script', 'facebook-jssdk')); 
250              </script> 
251            </div> 
252          </div> 
253        </div> 
254        <#assign $indicador = "fin"> 
255        <#else> 
256        <!-- Nueva forma de leer imagen destacada (sin servicios) --> 
257      <#assign 
258      img = journalArticle.getSmallImageURL() 
259      /> 
260      <!-- Leer descripción de imagen destacada --> 
261      <#assign  
262            dlFileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") 
263            /> 
264           <#if img?has_content>   
265             <#assign 
266              uuid1=img?keep_before("?")?keep_after_last("/")  
267              groupIdImage = img?keep_after("documents/")?keep_before("/")?number 
268              step1 = dlFileEntryService.getFileEntryByUuidAndGroupId(uuid1, groupIdImage) 
269             /> 
270           </#if>   
271        <div class="span6 noticias" style="max-width:450px; margin:3px"> 
272          <div class="headline-content"> 
273            <div class="rel_home_textos span8" style="max-width:470px; padding-left:2rem"> 
274              <h2 class="rel_home_card_title"> 
275                <a href="${viewURL}" class="rel_home_card_link">                                                 
276               ${stringUtil.shorten(curEntry.getTitle(locale), 200)} 
277                </a> 
278              </h2> 
279              <span class="rel_home_card_date"> 
280                <p> 
281                  <b> 
282                  <#if fecha?contains("Jan")> 
283                                    ${fecha?replace("Jan", "Ene")} 
284                                <#elseif fecha?contains("Apr")> 
285                                    ${fecha?replace("Apr", "Abr")} 
286                                <#elseif fecha?contains("Aug")> 
287                                    ${fecha?replace("Aug", "Ago")} 
288                                <#elseif fecha?contains("Dec")> 
289                                    ${fecha?replace("Dec", "Dic")} 
290                                <#else> 
291                                    ${fecha} 
292                                </#if> 
293 
294                  </b> 
295                </p> 
296              </span> 
297              <div class="rel_home_image_uninorte"> 
298                <a href="${viewURL}" class="rel_home_card_link">   
299                <#if img?has_content>     
300            <!--asignar descripción en texto alt si tiene, y si no que muestre el mismo titulo de la imagen--> 
301               <#if step1.getDescription()?has_content> 
302                 <img class="rel_home_image_uninorte" src="${img}" alt="${step1.getDescription()}" style="width:100%"/> 
303                <#else> 
304                  <img class="rel_home_image_uninorte" src="${img}" alt="${step1.getTitle()}" style="width:100%"/> 
305                </#if> 
306            <!--termina el alt y sigue con condicional de agregar logo UN en caso de que no tenga imagen destacada por mostrar--> 
307            <#else> 
308            <img class="rel_home_image_uninorte" src="https://www.uninorte.edu.co/documents/13400067/14601182/Logo_Uninorte.jpg/48cf4a2c-1cb9-3ea3-f675-dc4096815673?t=1667419477389" alt="Uninorte logo" style="width:100%"/> 
309            </#if> 
310                </a> 
311              </div> 
312              <span class="rel_home_card_description"> 
313                <p> 
314                  ${stringUtil.shorten(curEntry.getSummary(locale), 500)} 
315                </p> 
316              </span> 
317              <script>(function(d, s, id) { 
318                var js, fjs = d.getElementsByTagName(s)[0]; 
319                if (d.getElementById(id)) return; 
320                js = d.createElement(s); js.id = id; 
321                js.src = "//connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v2.7"; 
322                fjs.parentNode.insertBefore(js, fjs); 
323                }(document, 'script', 'facebook-jssdk')); 
324              </script> 
325            </div> 
326          </div> 
327        </div> 
328      </div> 
329      <#assign $indicador = "inicio"> 
330      </#if> 
331      </#if>				 
332      </#list> 
333      </#if> 
334    </div> 
335  </div> 
336</div> 
337<script type="text/javascript" src="https://owlcarousel2.github.io/OwlCarousel2/assets/owlcarousel/owl.carousel.js"></script> 
338<script type="text/javascript"></script>