Errorea gertatu da txantiloia prozesatzerakoan.
Java method "com.sun.proxy.$Proxy1233.getArticleByUrlTitle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1233 object "com.once.comun.serviceWrapper.journal.service.JournalServiceWrapper@1208ba70"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign journalArticle = journalArtic... [in template "20192#20219#TPL_WELBOA_DETALLE_ARTICULO" in macro "compartir_rrss" at line 85, column 5]
- Reached through: @compartir_rrss [in template "20192#20219#TPL_WELBOA_DETALLE_ARTICULO" at line 72, column 13]
----
1<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
2
3
4<#assign
5 welboaService = serviceLocator.findService("com.once.welboa.service.api.WelboaService")
6 journalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleService")
7 journalArticleId = .vars['reserved-article-id'].data
8 URLdetalleArt = ""
9/>
10 <#assign site_default_url = htmlUtil.escape(layout.getGroup().getDisplayURL(themeDisplay, false)) />
11
12<#if (.vars['reserved-article-id'].data)?has_content>
13 <#assign journalArticleId = .vars['reserved-article-id'].data />
14 <#if (journalService.getArticle(groupId, journalArticleId))?has_content>
15 <#assign journalArticle = journalService.getArticle(groupId, journalArticleId)/>
16 <#assign Boletin = welboaService.getBoletinFromArticulo(journalArticle)!/>
17 <#if Boletin?has_content>
18 <#assign URLdetalleArt = site_default_url+"/en-portada?boletin="+Boletin.getArticleId()/>
19 <#assign tituloBoletin = welboaService.recuperarCampo(Boletin, "titulo")/>
20 <#else>
21 <#assign URLdetalleArt = "" />
22 <#assign tituloBoletin = ""/>
23 </#if>
24
25</#if>
26</#if>
27
28
29<div class="titent_welboa_detalle text-center m-auto col-10 col-lg-10">
30 <div class="titulo_welboa_detalle pt-5 pt-md-6 pb-3">
31 <h2 class="text-left">${titulo.getData()}</h2>
32 </div>
33 <p class="text-left"><a class="welboa-link-boletin fit-content mb-3" href="${URLdetalleArt}"><#if tituloBoletin?? && tituloBoletin!= "">${tituloBoletin}</#if></a></p>
34</div>
35
36<#if video?has_content && video.getData()?? && video.getData() != "" && video.getData() != "null">
37 <div class="welboa-video-portada-seccion mx-2"><div class="welboa-video-portada align-middle w-100">${video.getData()}</div></div>
38<#else>
39 <#if imagen.getData()?? && imagen.getData() != "">
40 <div class="welboa_detalle-header justify-content-center justify-content-center row col-12 m-auto">
41 <div class="img_welboa_detalle">
42 <img class="img-fluid" alt="${imagen.getAttribute("alt")}" data-fileentryid="${imagen.getAttribute("fileEntryId")}" src="${imagen.getData()}" />
43 </div>
44 </div>
45 </#if>
46</#if>
47<#if (subtitulo.getData())?? && subtitulo.getData() != "">
48 <div class="entradilla_welboa_detalle col-10 text-center m-auto pt-4">
49 <span class="col-9">
50 ${subtitulo.getData()}
51 </span>
52 </div>
53</#if>
54
55<div class="texto_welboa_detalle justify-content-center col-10 m-auto col-lg-10 pt-3">
56 <div class="contenido_welboa_detalle">
57 <#if (cuerpo.getData())??>
58 ${cuerpo.getData()}
59 </#if>
60 </div>
61</div>
62
63<div class="welboa_final_articulo col-10 m-auto d-flex flex-wrap pt-5">
64 <div class="welboa-back d-flex float-left ">
65 <a class="welboa-back-link" href="${URLdetalleArt}"><p class="m-0 p-0"><svg aria-hidden="true" class="lexicon-icon lexicon-icon-angle-left">
66 <use xlink:href="${themeDisplay.getPathThemeImages()}/lexicon/icons.svg#angle-left" />
67 </svg>
68 <@liferay.language key="welboa.enlaces.volver" /> ${tituloBoletin}</p></a>
69 </div>
70 <div class="welboa-detalle-content-tools col-md-6 col-10 m-auto p-0 pt-3">
71 <div class="welboa-detalle-content-tools-share">
72 <@compartir_rrss/>
73 </div>
74 </div>
75</div>
76<#assign userLocalService = serviceLocator.findService('com.liferay.portal.kernel.service.UserLocalService') />
77<#assign author_id = .vars['reserved-article-author-id'].data?number>
78<#assign author_user = userLocalService.getUserById(author_id)/>
79<#assign author_image = author_user.getPortraitURL(themeDisplay)/>
80
81
82
83<#macro compartir_rrss>
84 <#assign journalArticleUtil = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
85 <#assign journalArticle = journalArticleUtil.getArticleByUrlTitle(themeDisplay.getCompanyGroupId(), "RRSS_Compartir")>
86 <@liferay_journal["journal-article"]
87 articleId=journalArticle.getArticleId()
88 ddmTemplateKey="TPL_ONCE_BRANDING_RRSS_SHARE"
89 groupId=journalArticle.getGroupId()
90 />
91</#macro>
92
93<script>
94$("iframe").eq(0).removeAttr("tabindex");
95$("iframe").eq(1).attr("tabindex" , 0);
96</script>
97
98<style>
99
100.welboa-video-portada {
101 max-width: 1400px !important;
102 margin: auto;
103}
104
105.welboa-video-portada-seccion {
106 background-color: #F3F3F4 !important;
107}
108.welboa-back-link{
109height:fit-content;
110}
111
112.welboa-link-boletin{
113width:fit-content;
114line-height:1.5;
115}
116
117
118.texto_welboa_detalle a{
119color: var(--primary, #124E83)!important;
120text-decoration:underline !important;
121}
122
123
124.texto_welboa_detalle strong{
125 font-weight:800;
126 }
127
128
129em {
130 font-style: italic !important;
131 }
132b {
133 font-weight:700;
134 }
135strong{
136 font-weight:700;
137 }
138
139.welboa-back p{
140 font-size: x-large;
141 font-weight: 700;
142}
143
144.welboa-back a{
145
146 line-height:initial;
147}
148
149.titent_welboa_detalle h2{
150 color: $color_blue;
151 font-weight:700;
152 font-size: 2.25rem;
153}
154
155
156.entradilla_welboa_detalle p{
157font-weight:700;
158font-size: 2rem;
159line-height: 1.5 !important;
160background-color:#ECECEC;
161padding: 1.25rem;
162}
163
164.contenido_welboa_detalle img{
165 margin-left:auto;
166 margin-right:auto;
167 display:block;
168 margin:auto !important;
169 padding: 0 1rem;
170 height: unset !important;
171}
172
173.img_welboa_detalle img{
174 object-fit:cover;
175 max-height: 90vh;
176 }
177
178
179
180.welboa-detalle-content-tools{
181 .global-rrss-share{
182 text-align:center !important;
183 }
184
185 .global-rrss-share-list{
186 display:flex !important;
187 }
188
189 .global-rrss-share-item{
190 padding:0.5em;
191 flex-shrink:1;
192 }
193}
194
195@media screen and (max-width: 742px) {
196
197 .img_welboa_detalle img{
198 left: 50%;
199 margin-left: -50vw;
200 max-width: 100vw !important;
201 position: relative;
202 width: 100vw !important;
203 }
204
205}
206
207.global-rrss-share{
208 }
209 .global-rrss-share ul{
210 display:inline-flex;
211 }
212 .global-rrss-share ul li{
213 padding:5px;
214 list-style:none;
215 }
216 .global-rrss-share ul li img{
217 height:30px !important;
218 width:30px !important;
219 max-width: unset !important;
220 }
221 .global-rrss-share ul li a:hover, .global-rrss-share ul li a:focus {
222 outline: 0.25rem solid var(--btn-primary-border-color, #007B22);
223 outline-offset: 0.125rem;
224 padding: 0px;
225 }
226
227 .global-rrss-share ul li a {
228 height:30px;
229 outline: 2px solid transparent;
230 }
231
232 .global-rrss-share img {
233 max-width: unset !important;
234 }
235
236@media screen and (max-width: 430px) {
237
238 .welboa-detalle-content-tools-share {
239 .global-rrss-share-item {
240 width: 3em;
241 padding: 0.25rem;
242 flex-shrink: 1;
243 }
244 }
245 .contenido_welboa_detalle p {
246 text-align: left !important;
247 }
248 .entradilla_welboa_detalle p{
249 font-size: 1.5rem;
250 text-align: left !important;
251 }
252 .component-html img {
253 max-width: 100%;
254 height: unset !important;
255 }
256}
257
258
259 .global-rrss-share span{
260 float: left;
261 padding-top: 0.7em;
262 padding-right: 1em;
263
264 }
265
266 </style>