Санпросвет работа
Материал опубликован:
Обновлён:
An error occurred while processing the template.
The following has evaluated to null or missing:
==> dateContent [in template "35723#35751#null" at line 1, column 95]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign dateContent_Data = getterUtil... [in template "35723#35751#null" at line 1, column 46]
----
1<dl><dt class="text-capitalize">Дата</dt><dd><#assign dateContent_Data = getterUtil.getString(dateContent.getData())>
2
3<#if validator.isNotNull(dateContent_Data)>
4 <#assign dateContent_DateObj = dateUtil.parseDate("yyyy-MM-dd", dateContent_Data, locale)>
5
6 ${dateUtil.getDate(dateContent_DateObj, "dd MMM yyyy - HH:mm:ss", locale)}
7</#if></dd><dt class="text-capitalize">content</dt><dd>${content.getData()}</dd></dl>