Новости

Светлана Орлова: "Участие в субботнике - это душевный порыв"
Во время обработки запрошенного шаблона произошла ошибка...
The following has evaluated to null or missing:
==> validLink?split("','")[1]  [in template "20116#20152#60929" at line 30, column 43]

----
Tip: It's the final [] step that caused this error, not those before it.
----
Tip: If the failing expression is known to be 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 posterLink = validLink?split(...  [in template "20116#20152#60929" at line 30, column 21]
----
1<#if content??> 
2    <div>${content.getData()}</div> 
3</#if> 
4<#assign counter = 0> 
5 
6<#assign portletnamespace = request["portlet-namespace"]> 
7<#assign video = 'video' + portletnamespace> 
8<#assign hiddenInputId = portletnamespace> 
9<#assign videoCounter = portletnamespace +  'videoCounter'> 
10<#assign videoKalturaN = portletnamespace + 'videoKalturaN'> 
11<#assign posterKalturaN = portletnamespace + 'posterKalturaN'> 
12<#assign defaultFullPosterId = portletnamespace + 'defaultFullPosterId'> 
13<#assign carousel = portletnamespace + 'carousel'> 
14 
15 
16<#assign isPrint = getterUtil.getBoolean(request['attributes']['view.jsp-print'])?string('true', 'false')> 
17<#assign defaultFullPosterURL = propsUtil.get("kalturaapp.thumbnail.full.url")> 
18<input type="hidden" id="${defaultFullPosterId}" value="${defaultFullPosterURL}"/> 
19<input type="hidden" id="${hiddenInputId}" value="${portletnamespace}"/> 
20 
21<#if isPrint == "false"> 
22    <script type="text/javascript" src="/o/main-theme/js/universal_news/custom.js"></script> 
23    <#if videoLink??> 
24        <#if videoLink.getSiblings()?has_content> 
25            <#list videoLink.getSiblings() as curVideoLink> 
26                <#assign videoLinkTextLength = curVideoLink.getData()?length> 
27                <#if videoLinkTextLength gt 0> 
28                    <#assign validLink = curVideoLink.getData()?replace("\"", "\'")> 
29                    <input type="hidden" id="${videoKalturaN}${counter}" class="videoKaltura" value="${validLink}" /> 
30                    <#assign posterLink = validLink?split("','")[1]> 
31                    <img id="${posterKalturaN}${counter}" class="hide posterKaltura" src="${posterLink}" onerror="jQuery(this).attr('data-fail-load', true)"/> 
32                    <#assign counter = counter + 1 /> 
33                </#if> 
34            </#list> 
35        </#if> 
36    </#if> 
37    <div style="clear:both; height: 10px"></div> 
38    <input type="hidden" id="${videoCounter}" value="${counter}"/> 
39    <#if counter gt 0> 
40        <video id="${video}" class="video-js vjs-default-skin" controls preload="auto"  width="520" height="354"></video> 
41        <script type="text/javascript"> 
42            jQuery(document).ready(function(){ 
43                runRender(jQuery('#${hiddenInputId}').val()); 
44            }); 
45        </script> 
46    </#if> 
47</#if> 
48<#if image??> 
49    <#if image.getSiblings()?has_content> 
50        <#if isPrint == "false"> 
51            <div style="clear:both"></div> 
52            <div class="avo_news_gallery_slider_horizontal"> 
53                <ul id="${carousel}" class="elastislide-list"> 
54                    <#list image.getSiblings() as curImage> 
55                        <li> 
56                            <a href="${curImage.getData()}"> 
57                                <img width="215px" src="${curImage.getData()}" data-large="${curImage.getData()}" /> 
58                            </a> 
59                        </li> 
60                    </#list> 
61                </ul> 
62            </div> 
63        <#else> 
64            <#list image.getSiblings() as curImage> 
65                <p><img src="${curImage.getData()}" data-large="${curImage.getData()}" /></p> 
66            </#list> 
67        </#if> 
68    </#if> 
69</#if> 

Календарь

Облако тегов

Подписка на новости