Virhe tapahtui prosessoidessa esitysmallia.
Java method "com.liferay.portal.kernel.util.DateUtil_IW.parseDate(String, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@1dcffc7a"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #local parseDate = dateUtil.parseDate...  [in template "25019650271166#20119#70959" in function "dateFormatted" at line 88, column 3]
	- Reached through: ${dateFormatted(.vars["reserved-artic...  [in template "25019650271166#20119#70959" at line 28, column 11]
----
1<#assign site_url = themeDisplay.getScopeGroup().getPathFriendlyURL(layout.isPrivateLayout(), themeDisplay) + themeDisplay.getScopeGroup().getFriendlyURL() /> 
2 
3<div class="row justify-content-center mb-3 pb-3"> 
4  <div class="col-lg-10"> 
5    <h4 class="font-weight-semibold text-gray-400 mb-2">NOTÍCIAS</h4> 
6 
7    <h2 class="font-weight-semibold text-blue-800 mb-2">${.vars["reserved-article-title"].data}</h2> 
8 
9    <#if (summary.getData())??> 
10      <h5 class="text-gray-400 font-weight-light m-0"> 
11        <em>${summary.getData()}</em> 
12      </h5> 
13    </#if> 
14 
15    <div class="d-flex justify-content-between align-items-center border-top border-bottom my-3 py-2"> 
16      <div class="author-date-wrapper"> 
17        <p class="h5">Por  
18          <a  
19            href="${site_url}/autor?user=${.vars['reserved-article-author-id'].data}"  
20            target="_blank"  
21            rel="noopener noreferrer" 
22
23            ${.vars["reserved-article-author-name"].data} 
24          </a> 
25        </p> 
26 
27        <p class="font-weight-light h5 m-0"> 
28          ${dateFormatted(.vars['reserved-article-display-date'].data)} - Atualizado em  
29          ${dateFormatted(.vars['reserved-article-modified-date'].data)} 
30        </p> 
31      </div> 
32 
33      <div class="share-wrapper"> 
34        <p class="h5 font-weight-light m-0 text-right">Compartilhar</p> 
35        <@share /> 
36      </div> 
37    </div> 
38 
39    <#if (img.getData())?? && img.getData() != ""> 
40      <div class="row align-items-end py-4 my-2"> 
41        <div class="col-md-9"> 
42          <img  
43            alt="${img.getAttribute('alt')}"  
44            data-fileentryid="${img.getAttribute('fileEntryId')}"  
45            src="${img.getData()}"  
46            class="rounded-3" 
47          /> 
48        </div> 
49 
50        <#if (imgCaption.getData())?? && imgCaption.getData() != ""> 
51          <div class="col-md-3"> 
52            <p class="border-top border-bottom border-secondary py-2">${imgCaption.getData()}</p> 
53          </div> 
54        </#if> 
55      </div> 
56    </#if> 
57 
58  	<div class="content">${content.getData()}</div> 
59  </div> 
60</div> 
61 
62<#if photoGalleryEntries.getSiblings()?has_content> 
63  <div class="bg-gray-25 py-5 bg-infinite"> 
64    <#if (photoGalleryTitle.getData())??> 
65      <h4 class="mb-4 pb-3 text-primary text-center">${photoGalleryTitle.getData()}</h4> 
66    </#if> 
67 
68    <div class="row"> 
69      <#list photoGalleryEntries.getSiblings() as cur_photoGalleryEntries> 
70        <#if (cur_photoGalleryEntries.photoGalleryItem.getData())?? && cur_photoGalleryEntries.photoGalleryItem.getData() != ""> 
71          <div class="col-md-4 mb-4"> 
72            <img  
73              class="rounded-3" 
74              alt="${cur_photoGalleryEntries.photoGalleryItem.getAttribute('alt')}"  
75              data-fileentryid="${cur_photoGalleryEntries.photoGalleryItem.getAttribute('fileEntryId')}"  
76              src="${cur_photoGalleryEntries.photoGalleryItem.getData()}"  
77            /> 
78          </div> 
79        </#if> 
80      </#list> 
81    </div> 
82  </div> 
83</#if> 
84 
85<#--  FUNÇÃO: FORMATAR DATA  --> 
86<#function dateFormatted date> 
87  <#local dateFormat = "dd/MM/yyyy 'às' HH'h'mm" /> 
88  <#local parseDate = dateUtil.parseDate("EEE, d MMM yyyy HH:mm:ss Z", date, locale) /> 
89  <#return dateUtil.getDate(parseDate, dateFormat, locale) /> 
90</#function> 
91 
92<#--  MACRO: COMPARTILHAR  --> 
93<#macro share> 
94  <#assign viewFullURL = themeDisplay.getPortalURL() + "/-/" + .vars['reserved-article-url-title'].data /> 
95   
96  <div class="nav"> 
97    <li class="nav-item"> 
98      <a  
99        class="btn btn-unstyled nav-btn nav-btn-monospaced text-blue-500" 
100        href="https://www.facebook.com/sharer.php?u=${viewFullURL}" 
101        target="_blank" 
102
103        <i class="lab la-facebook-f"></i> 
104      </a> 
105    </li> 
106     
107    <li class="nav-item"> 
108      <a  
109        class="btn btn-unstyled nav-btn nav-btn-monospaced" 
110        href="https://x.com/intent/post?url=${viewFullURL}" 
111        target="_blank" 
112
113        <svg  
114          width="20"  
115          height="20"  
116          viewBox="0 0 20 20"  
117          fill="none"  
118          xmlns="http://www.w3.org/2000/svg" 
119
120          <g clip-path="url(#clip0_5427_14315)"> 
121            <path  
122              d="M11.1486 8.925L16.2457 3H15.0378L10.612 8.14459L7.07709 3H3L8.34547 10.7795L3 16.9928H4.20792L8.88172 11.5599L12.6148 16.9928H16.6919L11.1483 8.925H11.1486ZM9.49414 10.8481L8.95253 10.0734L4.64316 3.90931H6.49846L9.97617 8.88394L10.5178 9.6586L15.0384 16.1249H13.1831L9.49414 10.8484V10.8481Z" 
123              fill="#00608F" 
124            /> 
125          </g> 
126          <defs> 
127            <clipPath id="clip0_5427_14315"> 
128              <rect  
129                width="13.6919"  
130                height="14"  
131                fill="white"  
132                transform="translate(3 3)" 
133              /> 
134            </clipPath> 
135          </defs> 
136        </svg>       
137      </a> 
138    </li> 
139     
140    <li class="nav-item"> 
141      <a  
142        class="btn btn-unstyled nav-btn nav-btn-monospaced text-blue-500" 
143        href="https://api.whatsapp.com/send?text=${viewFullURL}" 
144        target="_blank" 
145
146        <i class="lab la-whatsapp"></i> 
147      </a> 
148    </li> 
149 
150    <li class="nav-item"> 
151      <a  
152        class="btn btn-unstyled nav-btn nav-btn-monospaced text-blue-500" 
153        href="http://www.linkedin.com/shareArticle?mini=true&url=${viewFullURL}" 
154        target="_blank" 
155
156        <i class="lab la-linkedin-in"></i> 
157      </a> 
158    </li> 
159 
160    <li class="nav-item"> 
161      <button 
162        class="btn btn-unstyled nav-btn nav-btn-monospaced text-blue-500 lfr-portal-tooltip" 
163        title="Copiar Link para área de transferência" 
164        id="copy-link" 
165        type="button" 
166
167        <i class="las la-link"></i> 
168      </button> 
169    </li>     
170  </div> 
171</#macro> 

Você também pode se interessar por:

Sisältöjulkaisija

Sustentabilidade no TCDF: placas solares e vagas para carregamento de carros elétricos

Artigo de conteúdo web • Publicado por Polyana Resende • Em 19/12/2024 14:14
Categorias: Notícias

Vice-presidente do TCDF alerta sobre impactos de mudança no cálculo do Fundo Constitucional do DF

Artigo de conteúdo web • Publicado por Polyana Resende • Em 19/12/2024 14:14
Categorias: Destaque

TCDF faz visita técnica no Teatro Nacional antes da reabertura oficial

Artigo de conteúdo web • Publicado por Polyana Resende • Em 19/12/2024 14:14
Categorias: Notícias Destaque