COVID-19 related Measures - ਆਰਬੀਆਈ - Reserve Bank of India
an-error-occurred-while-processing-the-template
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@77f463"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign contentPublishDate_DateObj = ... [in template "20099#20125#71664629" at line 183, column 81] ----
1<#assign groupId=themeDisplay.getScopeGroupId() sectionMap="" redirectCategoryId="" pdfUUID="" fileSize="" pdfURL=""
2 SectionDocUUID="" secionDocURL="" sectionDocSize="" SectionExcelUUID="" secionExcelURL="" sectionExcelSize=""
3 zipUUID="" zipURL="" zipFileSize="" />
4<#assign AssetEntryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")
5 DlFileEntryLocalService=serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")
6 AssetCategoryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")
7 AssetVocabularyLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")
8 journalArticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
9 article=journalArticleLocalService.getArticle(getterUtil.getLong(groupId),.vars['reserved-article-id'].data)
10 />
11
12<#assign PDFURL=article.getExpandoBridge().getAttribute("pdf-url") />
13<#if PDFURL?has_content>
14 <#list PDFURL?keys as key>
15 <#if key==locale>
16 <#assign pdfURL=PDFURL?values[key_index] />
17 </#if>
18 </#list>
19</#if>
20<#if pdfURL?has_content>
21 <#list pdfURL?split("/") as sValue>
22 <#if sValue?is_last>
23 <#list sValue?split("?") as uuid>
24 <#if uuid?is_first>
25 <#assign pdfUUID=uuid />
26 </#if>
27 </#list>
28 </#if>
29 </#list>
30</#if>
31
32<#if pdfUUID?has_content>
33 <#attempt>
34 <#assign dlFileEntry=DlFileEntryLocalService.fetchFileEntry(pdfUUID,groupId?number)
35 pdfFileSize=dlFileEntry.getSize()
36 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",
37 dlFileEntry.getFileEntryId()) pdfURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)
38 pdfURL=pdfURL?replace("/"+pdfUUID,"") />
39 <#recover>
40 </#attempt>
41</#if>
42
43<#assign sectionDoc=article.getExpandoBridge().getAttribute("doc-url") />
44<#if sectionDoc?has_content>
45 <#list sectionDoc?keys as key>
46 <#if key==locale>
47 <#assign secionDocURL=sectionDoc?values[key_index] />
48 </#if>
49 </#list>
50</#if>
51
52<#if secionDocURL?has_content>
53 <#list secionDocURL?split("/") as sValue>
54 <#if sValue?is_last>
55 <#list sValue?split("?") as uuid>
56 <#if uuid?is_first>
57 <#assign SectionDocUUID=uuid />
58 </#if>
59 </#list>
60 </#if>
61 </#list>
62</#if>
63
64<#if SectionDocUUID?has_content>
65 <#attempt>
66 <#assign DLDocFileEntry=DlFileEntryLocalService.fetchFileEntry(SectionDocUUID,groupId?number)
67 sectionDocSize=DLDocFileEntry.getSize()
68 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLDocFileEntry.getFileEntryId())
69 secionDocURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)
70 secionDocURL=secionDocURL?replace("/"+SectionDocUUID,"") />
71 <#recover>
72 </#attempt>
73</#if>
74
75<#assign sectionExcel=article.getExpandoBridge().getAttribute("excel-url") />
76<#if sectionExcel?has_content>
77 <#list sectionExcel?keys as key>
78 <#if key==locale>
79 <#assign secionExcelURL=sectionExcel?values[key_index] />
80 </#if>
81 </#list>
82</#if>
83
84<#if secionExcelURL?has_content>
85 <#list secionExcelURL?split("/") as sValue>
86 <#if sValue?is_last>
87 <#list sValue?split("?") as uuid>
88 <#if uuid?is_first>
89 <#assign SectionExcelUUID=uuid />
90 </#if>
91 </#list>
92 </#if>
93 </#list>
94</#if>
95
96<#if SectionExcelUUID?has_content>
97 <#attempt>
98 <#assign DLExcelFileEntry=DlFileEntryLocalService.fetchFileEntry(SectionExcelUUID,groupId?number)
99 sectionExcelSize=DLExcelFileEntry.getSize()
100 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLExcelFileEntry.getFileEntryId())
101 secionExcelURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay) />
102 secionExcelURL=secionExcelURL?replace("/"+SectionExcelUUID,"")
103 <#recover>
104 </#attempt>
105</#if>
106
107<#if article.getExpandoBridge().getAttribute("zip-url")??>
108 <#assign zipData=article.getExpandoBridge().getAttribute("zip-url") />
109
110</#if>
111
112<#if zipData?has_content>
113
114 <#list zipData?keys as key>
115 <#if key==locale>
116 <#assign zipURL=zipData?values[key_index] />
117 </#if>
118 </#list>
119</#if>
120<#if zipURL?has_content>
121 <#list zipURL?split("/") as sValue>
122 <#if sValue?is_last>
123 <#list sValue?split("?") as uuid>
124 <#if uuid?is_first>
125 <#assign zipUUID=uuid />
126 </#if>
127 </#list>
128 </#if>
129 </#list>
130</#if>
131
132<#if zipUUID?has_content>
133 <#attempt>
134 <#assign dlFileEntry=DlFileEntryLocalService.fetchFileEntry(zipUUID,groupId?number)
135 zipFileSize=dlFileEntry.getSize()
136 fileAssetEntry=AssetEntryLocalService.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",
137 dlFileEntry.getFileEntryId()) zipURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)
138 zipURL=zipURL?replace("/"+zipUUID,"") />
139
140 <#recover>
141 </#attempt>
142</#if>
143
144<input type="hidden" value="${sectionMap}" id="detail-section" />
145<div class="rbi-breadcrumbs-wrap rbi-simple-breadcrumbs-wrapper final-one full-width">
146 <div class="container">
147 <nav>
148 <ol class="breadcrumb rbi-simple-breadcrumbs">
149 <li class="breadcrumb-item">
150 <a href="/web/rbi/home">
151 ${languageUtil.get(locale, "home")}
152 </a>
153 </li>
154
155 <li class="breadcrumb-item active" aria-current="page">
156
157 <#if (indexTitle.getData())?? >
158 ${indexTitle.getData()}
159 <#else>
160 ${.vars['reserved-article-title'].data}
161 </#if>
162 </li>
163 </ol>
164 </nav>
165 </div>
166</div>
167<div id="articleUniqueID" class="hide">id</div>
168<div id="mainContent">
169 <div class="container pl-0 pr-0 dynamic-resize">
170 <div class="Notification-content-wrap full-width">
171 <div class="published-on-wrapper dynamic-resize">
172 <div class="container-fluid">
173 <div class=" published-on-contents">
174 <div class="row no-gutters article-published-row-wrapper">
175 <div class="article-published-dates-wrapper">
176 <div class="article-published-date">
177 <span class="published-date font-resized" style="border-right: 0px;">
178
179 ${languageUtil.get(locale,"published-on")}
180 <#assign contentPublishDate_Data = getterUtil.getString(contentPublishDate.getData())>
181
182 <#if validator.isNotNull(contentPublishDate_Data)>
183 <#assign contentPublishDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", contentPublishDate_Data, locale)>
184
185 ${dateUtil.getDate(contentPublishDate_DateObj, "MMMM dd, yyyy", locale)}
186 </#if>
187 </span>
188 </div>
189 </div>
190 <div class="article-tts-view-pdf-wrapper">
191
192 <div class="article-text-to-speach-wrapper">
193 <div class="listen-header">
194 <a href="javascript:void(0);" id="textSpeechButton" class="tts-listen-audio">
195 <button class="player-button-outer-top">
196 <img src="/documents/20125/174906/speech-to-text-play.svg"
197 alt="${languageUtil.get(locale," listen")}" />
198 </button>
199 <span
200 class="article-text-to-speach textSpeechButton">${languageUtil.get(locale,"listen")}</span>
201 </a>
202 </div>
203 </div>
204
205
206 <div class="download-pdf-wrapper">
207 <div class="btn-wrap">
208 <#if pdfURL?? && pdfURL?has_content>
209 <div class="inner-wrap">
210 <a href="${pdfURL?split('?')[0]}" target="_blank"
211 class="matomo_download">
212 <img src="/documents/70233/0/fileDownload.svg" class="downloadFile"
213 alt="Download File" title="Download File">
214 <span class="fileName matomo_download">
215 ${languageUtil.get(locale,'pdf')} <#if pdfFileSize?? &&
216 pdfFileSize?has_content>
217 (<span class="fileSize">${pdfFileSize}</span>)
218 </#if>
219 </span>
220 </a>
221 </div>
222 </#if>
223
224 <#if zipURL?? && zipURL?has_content>
225 <div class="inner-wrap">
226 <a href="${zipURL?split('?')[0]}" target="_blank"
227 class="matomo_download">
228 <img src="/documents/70233/0/fileDownload.svg" class="downloadFile"
229 alt="Download File" title="Download File">
230 <span class="fileName matomo_download">
231 ${languageUtil.get(locale,'zip')} <#if zipFileSize?? &&
232 zipFileSize?has_content>
233 (<span class="fileSize">${zipFileSize}</span>)
234 </#if>
235 </span>
236 </a>
237 </div>
238 </#if>
239
240 <#if secionDocURL?? && secionDocURL?has_content>
241 <#if secionDocURL?contains(".xls") || secionDocURL?contains(".xlsx")>
242 <div class="inner-wrap">
243 <a href="${secionDocURL?split('?')[0]}" target="_blank"
244 class="matomo_download">
245 <img src="/documents/70233/0/fileDownload.svg"
246 class="downloadFile" alt="Download File"
247 title="Download File">
248 <span class="fileName matomo_download">
249 ${languageUtil.get(locale,'excel')}
250 <#if sectionDocSize?? && sectionDocSize?has_content>
251 (<span class="fileSize">${sectionDocSize}</span>)
252 </#if>
253 </span>
254 </a>
255 </div>
256 </#if>
257 </#if>
258 <#if secionExcelURL?? && secionExcelURL?has_content>
259 <div class="inner-wrap">
260 <a href="${secionExcelURL?split('?')[0]}" target="_blank"
261 class="matomo_download">
262 <img src="/documents/70233/0/fileDownload.svg" class="downloadFile"
263 alt="Download File" title="Download File">
264 <span class="fileName matomo_download">
265 ${languageUtil.get(locale,'excel')} <#if sectionExcelSize?? &&
266 sectionExcelSize?has_content>
267 (<span class="fileSize">${sectionExcelSize}</span>)
268 </#if>
269 </span>
270 </a>
271 </div>
272 </#if>
273 </div>
274 </div>
275 </div>
276 </div>
277 </div>
278 </div>
279
280 <div class="published-content-wrapper migrated-data-heading">
281 <div class="container-fluid">
282 <div class="published-contents">
283 <div class="row no-gutters">
284 <div class="col-md-12 col-12">
285 <h2 class="section-heading fetch-page-title" id="mtm_details_page_heading">
286 <#if (indexTitle.getData())??>
287 ${indexTitle.getData()}
288 </#if>
289 </h2>
290 </div>
291
292
293 <div class="col-12">
294 <div id="migrated_data_dummy" class="d-none"></div>
295 <div class="migrated-data-wrap ">
296 <#if (indicatorsdetail.getData())??>
297 ${indicatorsdetail.getData()}
298 </#if>
299 </div>
300 </div>
301
302 </div>
303 </div>
304 </div>
305 </div>
306 </div>
307 </div>
308 </div>
309</div>
310
311<script>
312
313 $(document).ready(function () {
314 //Resolved tab title special character ASCII code issue
315 var oldPageTitle = $('title').text();
316 var pageTitle = $(".fetch-page-title").text() + "-" + oldPageTitle.split("-")[1];
317 $(document).prop('title', pageTitle);
318
319 $(".fileSize").each(function () {
320 var fileSize = $(this).html()
321 if (fileSize != "") {
322 $(this).html(formatFileSize(parseInt(fileSize), 2))
323 }
324 });
325
326 function formatFileSize(bytes, decimalPoint) {
327 if (bytes == 0)
328 return '0 Bytes';
329 var k = 1024,
330 dm = decimalPoint || 2,
331 sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
332 i = Math.floor(Math.log(bytes) / Math.log(k));
333 return (parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]);
334 }
335 });
336</script>
337
338<@liferay_portlet["runtime"] instanceId="99123457"
339 portletName="com_liferay_rbi_tts_utility_RbiTtsCommonUtilityPortlet" />
ਕੀ ਇਹ ਪੇਜ ਲਾਭਦਾਇਕ ਸੀ?