Публикатор

Публикатор

Во время обработки запрошенного шаблона произошла ошибка...
Java method "static com.liferay.portal.kernel.json.JSONFactoryUtil.looseDeserialize(String)" threw an exception; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign videoInfo = jsonFactoryUtil.l...  [in template "20116#20152#3830469" at line 13, column 17]
----
1<#assign jsonFactoryUtil = staticUtil["com.liferay.portal.kernel.json.JSONFactoryUtil"]> 
2 
3<#assign portletnamespace = portletDisplay.getNamespace()> 
4<#assign defaultFullPosterId = portletnamespace + 'defaultFullPosterId'> 
5<#assign defaultFullPosterURL = propsUtil.get("kalturaapp.thumbnail.full.url")> 
6<#assign articleTitle = .vars['reserved-article-title'].data> 
7 
8<#if videoLink??> 
9    <#if videoLink.getSiblings()?has_content> 
10        <#list videoLink.getSiblings() as curVideoLink> 
11            <#assign videoLinkTextLength = curVideoLink.getData()?length> 
12            <#if videoLinkTextLength gt 0> 
13                <#assign videoInfo = jsonFactoryUtil.looseDeserialize(curVideoLink.getData())/> 
14                <video class="video-js vjs-4-3" poster="${defaultFullPosterURL}" preload="metadata" controls width="100%" height="436" data-source="${videoInfo[0]}" data-title="${articleTitle}"> 
15                <source src="${videoInfo[3]}" type="video/${videoInfo[2]}"> 
16                <source src="${videoInfo[5]}" type="video/${videoInfo[4]}"> 
17                <source src="${videoInfo[7]}" type="video/${videoInfo[6]}"> 
18                </video> 
19            </#if> 
20        </#list> 
21    </#if> 
22</#if> 
Во время обработки запрошенного шаблона произошла ошибка...
Java method "static com.liferay.portal.kernel.json.JSONFactoryUtil.looseDeserialize(String)" threw an exception; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign videoInfo = jsonFactoryUtil.l...  [in template "20116#20152#3830469" at line 13, column 17]
----
1<#assign jsonFactoryUtil = staticUtil["com.liferay.portal.kernel.json.JSONFactoryUtil"]> 
2 
3<#assign portletnamespace = portletDisplay.getNamespace()> 
4<#assign defaultFullPosterId = portletnamespace + 'defaultFullPosterId'> 
5<#assign defaultFullPosterURL = propsUtil.get("kalturaapp.thumbnail.full.url")> 
6<#assign articleTitle = .vars['reserved-article-title'].data> 
7 
8<#if videoLink??> 
9    <#if videoLink.getSiblings()?has_content> 
10        <#list videoLink.getSiblings() as curVideoLink> 
11            <#assign videoLinkTextLength = curVideoLink.getData()?length> 
12            <#if videoLinkTextLength gt 0> 
13                <#assign videoInfo = jsonFactoryUtil.looseDeserialize(curVideoLink.getData())/> 
14                <video class="video-js vjs-4-3" poster="${defaultFullPosterURL}" preload="metadata" controls width="100%" height="436" data-source="${videoInfo[0]}" data-title="${articleTitle}"> 
15                <source src="${videoInfo[3]}" type="video/${videoInfo[2]}"> 
16                <source src="${videoInfo[5]}" type="video/${videoInfo[4]}"> 
17                <source src="${videoInfo[7]}" type="video/${videoInfo[6]}"> 
18                </video> 
19            </#if> 
20        </#list> 
21    </#if> 
22</#if>