IFAD Asset Request Portlet

ناشر الأصول

حصل خطأ عند معالجة القالب.
When calling function "getFormattedDateForAbstractArticle", required parameter "abstract_publication_date" (parameter #2) was specified, but had null/missing value.

----
Tip: If the parameter value expression on the caller side is known to be legally null/missing, you may want to specify a default value for it with the "!" operator, like paramValue!defaultValue.
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #function getFormattedDateForAbstract...  [in template "ASSET_ENTRY_MACROS" in function "getFormattedDateForAbstractArticle" at line 74, column 1]
----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
2groupLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService") 
3classNameLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.ClassNameLocalService") /> 
4 
5<#assign globalGroup = groupLocalService.getFriendlyURLGroup(companyId, "/global")> 
6<#assign destMacroClassId = classNameLocalService.getClassNameId("com.liferay.asset.kernel.model.AssetEntry")> 
7<#include "_TEMPLATE_CONTEXT_/${companyId}/${globalGroup.groupId}/${destMacroClassId}/ASSET_ENTRY_MACROS" /> 
8 
9<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(articleGroupId), .vars['reserved-article-id'].data)> 
10 
11<div class="abstract-article story"> 
12 
13    <div class="header-section"> 
14        <#if story_title?has_content> 
15            <h1 class="title">${story_title.data}</h1> 
16        </#if> 
17 
18        <#if story_subtitle?has_content> 
19            <h3 class="subtitle">${story_subtitle.data}</h3> 
20        </#if> 
21 
22        <#assign publicationDateFormatted = getFormattedDateForAbstractArticle(article, abstract_publication_date, locale, "dd MMMM yyyy") /> 
23 
24        <#if publicationDateFormatted != ""> 
25            <small class="text-mitted article-date">${publicationDateFormatted}</small> 
26        </#if> 
27    </div> 
28 
29    <div id="shareButtons" class="hidden-print"></div> 
30 
31    <#if story_image?has_content> 
32        <img class="img-fluid" src="${story_image.getData()}"/> 
33        <small class="text-right d-block">${story_image.story_image_credits.data}</small> 
34 
35        <p class="text-center text-muted">${story_image.story_image_caption.data}</p> 
36    </#if> 
37 
38    <div class="container main-content"> 
39        <div class="row"> 
40            <div class="col-lg-10 offset-lg-1 col-md-12"> 
41                ${main_content.getData()} 
42            </div> 
43        </div> 
44    </div> 
45</div> 
46 
47<@printLegacyArticleUrl article />