Ogłoszenia o praktykach w Oddziale ZUS w Legnicy
Ogłoszenia o praktykach w Oddziale ZUS w Legnicy
-
Wystąpił błąd podczas przetwarzania szablonu.
The following has evaluated to null or missing: ==> splitedTab[2] [in template "10155#10195#STAZE" at line 5, column 24] ---- Tip: It's the final [] step that caused this error, not those before it. ---- 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 fileGroupId = splitedTab[2]?n... [in template "10155#10195#STAZE" at line 5, column 1] ----1<#assign dlLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") />23<#assign fileUrl = fileToDownload.getData()?string />4<#assign splitedTab = fileUrl?split("/") />5<#assign fileGroupId = splitedTab[2]?number />6<#assign fileFolderId = splitedTab[3]?number />7<#assign fileTitleData = splitedTab[4]?string?split("t=") />8<#assign fileTitle = httpUtil.decodeURL(splitedTab[4]) />9<#assign fileUuid = splitedTab[5]?split("?")[0] />10<#if dlLocalService.getDLFileEntryByUuidAndGroupId(fileUuid,fileGroupId)??>11 <#assign fileEntity = dlLocalService.getDLFileEntryByUuidAndGroupId(fileUuid,fileGroupId) />12 <#assign fileSize = fileEntity.getSize()/1024 />13 <#assign fileSizeKB = fileSize?string("0") + " kB" />14 <#assign fileExtension = fileEntity.getExtension() />1516 <#assign fileExt_pdf = "pdf" />17 <#assign fileExt_doc = "doc" />18 <#assign fileExt_xls = "xls" />1920 <#assign fileExt_xlsx = "xlsx" />21 <#assign fileExt_docx = "docx" />22 <#if fileExtension == fileExt_xlsx>23 <#assign fileExtension = fileExt_xls />24 </#if>25 <#if fileExtension == fileExt_docx>26 <#assign fileExtension = fileExt_doc />27 </#if>2829 <#if fileExtension != fileExt_pdf && fileExtension != fileExt_doc && fileExtension != fileExt_xls>30 <#assign fileExtension = "page" />31 </#if>32</#if>3334<#--35 The locale change here is supposed to avoid an error when parsing date string to Date object36 because the month names in .vars['reserved-article-display-date'].data string are given in Polish.37-->38<#assign originalLocale = .locale />39<#setting locale = localeUtil.getDefault() />40<#assign dateString = .vars['reserved-article-display-date'].data />41<#-- Substring removes uunnecessary weekday which is given in an incorrect format (there were 2 letters only) -->42<#assign dateObject = dateString?substring(dateString?index_of(','))?datetime[', d MMM yyyy HH:mm:ss Z'] />43<#-- Restoring the previous locale -->44<#assign locale = originalLocale />4546<#assign dayValue = dateObject?string("d") />47<#assign monthNumberAsString = dateObject?string("MM") />48<#assign yearValue = dateObject?string("yyyy") />4950<div class="container-fluid px-0">51 <div class="row mx-0">52 <div class="col-12 col-sm-2 zus-date">53 <p>54 <span class="zus-date__year">${dayValue} </span>55 <span class="zus-date__my">56 <span><@liferay.language key="month.${monthNumberAsString}"/></span>57 <span>${yearValue}</span>58 </span>59 </p>60 </div>61 <div class="col-12 col-sm-6 zus-content-list__item-content">62 <#if fileEntity??>63 <a href="${fileToDownload.getData()}" target="_blank">64 <span>65 <span class="acc-hide"><@liferay.language key="download" /> "</span>66 ${.vars['reserved-article-title'].data}67 <span class="acc-hide">" (${fileExtension}, ${fileSizeKB})</span>68 </span>69 </a>70 <#else>71 <span>72 <span class="acc-hide"><@liferay.language key="download" /> "</span>73 ${.vars['reserved-article-title'].data}74 <span class="acc-hide">"</span>75 </span>76 </#if>77 <div class="zus-cms">${teasers.getData()}</div>78 <#if !fileEntity??>79 <div class="zus-form-sended ">80 <div class="form-sended__wrapper">81 <div class="form-sended__message">82 <p class="h3"><@liferay.language key="invalid.file.entry" /></p>83 </div>84 </div>85 </div>86 </#if>87 </div>88 <div class="col-12 col-sm-1 ">89 <#if icon.getData() !="">90 <img src="${icon.getData()}" alt="" />91 </#if>92 </div>93 <div class="col-12 col-sm-3 zus-content-list__item-content more-padding">94 <#if fileEntity??>95 <a href="${fileToDownload.getData()}"96 class="b-icon-before-${fileExtension}"97 target="_blank"98 aria-hidden="true"99 >100 <span><@liferay.language key="download" /> ${fileSizeKB}</span>101 </a>102 </#if>103 </div>104 </div>105</div> -
Wystąpił błąd podczas przetwarzania szablonu.
The following has evaluated to null or missing: ==> splitedTab[2] [in template "10155#10195#STAZE" at line 5, column 24] ---- Tip: It's the final [] step that caused this error, not those before it. ---- 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 fileGroupId = splitedTab[2]?n... [in template "10155#10195#STAZE" at line 5, column 1] ----1<#assign dlLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") />23<#assign fileUrl = fileToDownload.getData()?string />4<#assign splitedTab = fileUrl?split("/") />5<#assign fileGroupId = splitedTab[2]?number />6<#assign fileFolderId = splitedTab[3]?number />7<#assign fileTitleData = splitedTab[4]?string?split("t=") />8<#assign fileTitle = httpUtil.decodeURL(splitedTab[4]) />9<#assign fileUuid = splitedTab[5]?split("?")[0] />10<#if dlLocalService.getDLFileEntryByUuidAndGroupId(fileUuid,fileGroupId)??>11 <#assign fileEntity = dlLocalService.getDLFileEntryByUuidAndGroupId(fileUuid,fileGroupId) />12 <#assign fileSize = fileEntity.getSize()/1024 />13 <#assign fileSizeKB = fileSize?string("0") + " kB" />14 <#assign fileExtension = fileEntity.getExtension() />1516 <#assign fileExt_pdf = "pdf" />17 <#assign fileExt_doc = "doc" />18 <#assign fileExt_xls = "xls" />1920 <#assign fileExt_xlsx = "xlsx" />21 <#assign fileExt_docx = "docx" />22 <#if fileExtension == fileExt_xlsx>23 <#assign fileExtension = fileExt_xls />24 </#if>25 <#if fileExtension == fileExt_docx>26 <#assign fileExtension = fileExt_doc />27 </#if>2829 <#if fileExtension != fileExt_pdf && fileExtension != fileExt_doc && fileExtension != fileExt_xls>30 <#assign fileExtension = "page" />31 </#if>32</#if>3334<#--35 The locale change here is supposed to avoid an error when parsing date string to Date object36 because the month names in .vars['reserved-article-display-date'].data string are given in Polish.37-->38<#assign originalLocale = .locale />39<#setting locale = localeUtil.getDefault() />40<#assign dateString = .vars['reserved-article-display-date'].data />41<#-- Substring removes uunnecessary weekday which is given in an incorrect format (there were 2 letters only) -->42<#assign dateObject = dateString?substring(dateString?index_of(','))?datetime[', d MMM yyyy HH:mm:ss Z'] />43<#-- Restoring the previous locale -->44<#assign locale = originalLocale />4546<#assign dayValue = dateObject?string("d") />47<#assign monthNumberAsString = dateObject?string("MM") />48<#assign yearValue = dateObject?string("yyyy") />4950<div class="container-fluid px-0">51 <div class="row mx-0">52 <div class="col-12 col-sm-2 zus-date">53 <p>54 <span class="zus-date__year">${dayValue} </span>55 <span class="zus-date__my">56 <span><@liferay.language key="month.${monthNumberAsString}"/></span>57 <span>${yearValue}</span>58 </span>59 </p>60 </div>61 <div class="col-12 col-sm-6 zus-content-list__item-content">62 <#if fileEntity??>63 <a href="${fileToDownload.getData()}" target="_blank">64 <span>65 <span class="acc-hide"><@liferay.language key="download" /> "</span>66 ${.vars['reserved-article-title'].data}67 <span class="acc-hide">" (${fileExtension}, ${fileSizeKB})</span>68 </span>69 </a>70 <#else>71 <span>72 <span class="acc-hide"><@liferay.language key="download" /> "</span>73 ${.vars['reserved-article-title'].data}74 <span class="acc-hide">"</span>75 </span>76 </#if>77 <div class="zus-cms">${teasers.getData()}</div>78 <#if !fileEntity??>79 <div class="zus-form-sended ">80 <div class="form-sended__wrapper">81 <div class="form-sended__message">82 <p class="h3"><@liferay.language key="invalid.file.entry" /></p>83 </div>84 </div>85 </div>86 </#if>87 </div>88 <div class="col-12 col-sm-1 ">89 <#if icon.getData() !="">90 <img src="${icon.getData()}" alt="" />91 </#if>92 </div>93 <div class="col-12 col-sm-3 zus-content-list__item-content more-padding">94 <#if fileEntity??>95 <a href="${fileToDownload.getData()}"96 class="b-icon-before-${fileExtension}"97 target="_blank"98 aria-hidden="true"99 >100 <span><@liferay.language key="download" /> ${fileSizeKB}</span>101 </a>102 </#if>103 </div>104 </div>105</div> -
Wystąpił błąd podczas przetwarzania szablonu.
The following has evaluated to null or missing: ==> splitedTab[2] [in template "10155#10195#STAZE" at line 5, column 24] ---- Tip: It's the final [] step that caused this error, not those before it. ---- 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 fileGroupId = splitedTab[2]?n... [in template "10155#10195#STAZE" at line 5, column 1] ----1<#assign dlLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") />23<#assign fileUrl = fileToDownload.getData()?string />4<#assign splitedTab = fileUrl?split("/") />5<#assign fileGroupId = splitedTab[2]?number />6<#assign fileFolderId = splitedTab[3]?number />7<#assign fileTitleData = splitedTab[4]?string?split("t=") />8<#assign fileTitle = httpUtil.decodeURL(splitedTab[4]) />9<#assign fileUuid = splitedTab[5]?split("?")[0] />10<#if dlLocalService.getDLFileEntryByUuidAndGroupId(fileUuid,fileGroupId)??>11 <#assign fileEntity = dlLocalService.getDLFileEntryByUuidAndGroupId(fileUuid,fileGroupId) />12 <#assign fileSize = fileEntity.getSize()/1024 />13 <#assign fileSizeKB = fileSize?string("0") + " kB" />14 <#assign fileExtension = fileEntity.getExtension() />1516 <#assign fileExt_pdf = "pdf" />17 <#assign fileExt_doc = "doc" />18 <#assign fileExt_xls = "xls" />1920 <#assign fileExt_xlsx = "xlsx" />21 <#assign fileExt_docx = "docx" />22 <#if fileExtension == fileExt_xlsx>23 <#assign fileExtension = fileExt_xls />24 </#if>25 <#if fileExtension == fileExt_docx>26 <#assign fileExtension = fileExt_doc />27 </#if>2829 <#if fileExtension != fileExt_pdf && fileExtension != fileExt_doc && fileExtension != fileExt_xls>30 <#assign fileExtension = "page" />31 </#if>32</#if>3334<#--35 The locale change here is supposed to avoid an error when parsing date string to Date object36 because the month names in .vars['reserved-article-display-date'].data string are given in Polish.37-->38<#assign originalLocale = .locale />39<#setting locale = localeUtil.getDefault() />40<#assign dateString = .vars['reserved-article-display-date'].data />41<#-- Substring removes uunnecessary weekday which is given in an incorrect format (there were 2 letters only) -->42<#assign dateObject = dateString?substring(dateString?index_of(','))?datetime[', d MMM yyyy HH:mm:ss Z'] />43<#-- Restoring the previous locale -->44<#assign locale = originalLocale />4546<#assign dayValue = dateObject?string("d") />47<#assign monthNumberAsString = dateObject?string("MM") />48<#assign yearValue = dateObject?string("yyyy") />4950<div class="container-fluid px-0">51 <div class="row mx-0">52 <div class="col-12 col-sm-2 zus-date">53 <p>54 <span class="zus-date__year">${dayValue} </span>55 <span class="zus-date__my">56 <span><@liferay.language key="month.${monthNumberAsString}"/></span>57 <span>${yearValue}</span>58 </span>59 </p>60 </div>61 <div class="col-12 col-sm-6 zus-content-list__item-content">62 <#if fileEntity??>63 <a href="${fileToDownload.getData()}" target="_blank">64 <span>65 <span class="acc-hide"><@liferay.language key="download" /> "</span>66 ${.vars['reserved-article-title'].data}67 <span class="acc-hide">" (${fileExtension}, ${fileSizeKB})</span>68 </span>69 </a>70 <#else>71 <span>72 <span class="acc-hide"><@liferay.language key="download" /> "</span>73 ${.vars['reserved-article-title'].data}74 <span class="acc-hide">"</span>75 </span>76 </#if>77 <div class="zus-cms">${teasers.getData()}</div>78 <#if !fileEntity??>79 <div class="zus-form-sended ">80 <div class="form-sended__wrapper">81 <div class="form-sended__message">82 <p class="h3"><@liferay.language key="invalid.file.entry" /></p>83 </div>84 </div>85 </div>86 </#if>87 </div>88 <div class="col-12 col-sm-1 ">89 <#if icon.getData() !="">90 <img src="${icon.getData()}" alt="" />91 </#if>92 </div>93 <div class="col-12 col-sm-3 zus-content-list__item-content more-padding">94 <#if fileEntity??>95 <a href="${fileToDownload.getData()}"96 class="b-icon-before-${fileExtension}"97 target="_blank"98 aria-hidden="true"99 >100 <span><@liferay.language key="download" /> ${fileSizeKB}</span>101 </a>102 </#if>103 </div>104 </div>105</div>