S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing: ==> languages?filter(language -> language.isSelected())?first [in template "32020#32062#285261" at line 4, column 34] ---- 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 currentLanguage = languages?f... [in template "32020#32062#285261" at line 4, column 9] ----
1<#assign languages=[] />
2<#if entries?has_content>
3 <#assign languages=entries />
4 <#assign currentLanguage=languages?filter(language -> language.isSelected())?first />
5</#if>
6
7<div class="dropdown lang-icon" id="languages-selector">
8 <#if currentLanguage??>
9 <#assign label=languageUtil.get(locale, "language-selector-alt" ) />
10
11 <button
12 class="d-flex align-items-center btn btn-secondary dropdown-toggle lfr-language-selector__current border-0 bg-transparent"
13 type="button" id="langMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
14 aria-label="${label}" title="${label}">
15 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" id="language"
16 aria-hidden="true">
17 <path fill="#FFFFFF"
18 d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z">
19 </path>
20 </svg>
21
22 ${getLanguageDisplayName(currentLanguage.getLanguageId())}
23 </button>
24 </#if>
25
26 <ul class="dropdown-menu dropdown-menu-right languages-dropdown-menu" id="sony-languages"
27 aria-labelledby="langMenuButton">
28 <#list languages as language>
29 <#assign activeCls="" />
30 <#assign normalizedDefaultLanguageId=getLanguageDisplayName(language.getLanguageId()) />
31
32 <#if language.isSelected()>
33 <#assign activeCls="selected" />
34 </#if>
35
36 <li class="" data-selected="${language.isSelected()?c}">
37 <#assign finalURL="#" />
38
39 <#if language.getURL()??>
40 <#assign finalURL=language.getURL()>
41 </#if>
42
43 <a href="${finalURL}" class="lfr-language-selector__link dropdown-item ${activeCls}">
44 ${normalizedDefaultLanguageId}
45 </a>
46 </li>
47 </#list>
48 </ul>
49</div>
50
51<#function getLanguageDisplayName languageId>
52 <#return stringUtil.toLowerCase(stringUtil.replace(languageId, "_" , "-" )) />
53</#function>
Welcome to the Sony Partner Portal
Login / Register
This portal is only for accredited partners who are located within Europe. Please select an option below to login or register.
The information that you provide may be used by the Sony group of companies to respond to your queries, to fulfil your transaction, and for other purposes as described in our Privacy Statement. This statement also explains the types of personal information that we collect, how we use it, and with whom we may share it. By submitting any information on the links below, you consent to the processing of your information as described in the Privacy Statement.
Login
Register
Copyright © 2024 Sony Europe. All rights reserved