Ofis Atlanta

Şablon işlenirken bir hata oluştu.
The following has evaluated to null or missing:
==> countrySelected  [in template "20101#20128#3282484" at line 26, column 102]

----
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: ${countrySelected}  [in template "20101#20128#3282484" at line 26, column 100]
----
1<#list entries as entry> 
2    <#assign vocabId = entry.vocabularyId /> 
3    <#assign vocabulary = mlxAssetHelperService.getAssetCategoriesByVocabularyIdSortedByLanguageId(vocabId, locale) /> 
4</#list> 
5 
6<#assign url = themeDisplay.getURLCurrent() /> 
7<#assign article =  (mlxUrlUtilService.getJournalArticleByUrl(url, "${locale}", groupId, true))!{} /> 
8<#if article?has_content > 
9    <#assign articleCatId = mlxSalesOfficeService.getOfficeCategoryByJournalArticle(article) /> 
10<#else> 
11    <#assign articleCatId = "" > 
12</#if> 
13 
14<#if entries?has_content> 
15    <div class="corporate--offices--filters"> 
16        <div class="corporate--offices--filters--container"> 
17        <h4 class="corporate--offices--filters--title"></h4> 
18            <div class="corporate--offices--filters--form--row"> 
19                <div class="corporate--offices--filters--select">   
20                    <#list vocabulary as voc> 
21                        <#assign ctgId = voc.getCategoryId() /> 
22                        <#if "${ctgId}" == articleCatId>     
23                            <#assign countrySelected = voc.getTitle(locale) > 
24                        </#if> 
25                    </#list> 
26                    <label for="office-countries" class="corporate--offices--filters--form-select">${countrySelected}</label> 
27                    <input type="checkbox" name="office-countries" id="office-countries" value="${countrySelected}"> 
28                    <div class="corporate--offices--filters--select-content"> 
29                        <#list vocabulary as voc> 
30                            <#assign ctgId = voc.getCategoryId() /> 
31                            <#assign language_id = themeDisplay.getLanguageId() /> 
32                            <#assign offices = mlxSalesOfficeService.getOfficesMapByCategoryId(ctgId, language_id, groupId) /> 
33 
34                            <#if offices?has_content> 
35                                <a href="/${offices?values[0]?keys[0]}" <#if "${ctgId}" == articleCatId>selected</#if> data-mainoffice-url="/${offices?values[0]?keys[0]}" data-value="${ctgId}">${voc.getTitle(locale)}</a> 
36                            </#if> 
37                        </#list> 
38                    </div> 
39                </div> 
40           </div> 
41        </div> 
42    </div> 
43</#if> 
44<script> 
45    window.addEventListener('load', function() { 
46      if (typeof sessionStorage['user_asked'] === 'undefined') { 
47        showlocation(); 
48
49    }); 
50</script>