ပြည်ထောင်စုသမ္မတမြန်မာနိုင်ငံတော် နိုင်ငံတော်သမ္မတရုံး သတင်းထုတ်ပြန်ချက်အမှတ်၊ ၁၉ / ၂၀၂၀
	
		An error occurred while processing the template.	
	
		
				
	
The following has evaluated to null or missing:
==> image  [in template "20116#20152#47530" at line 28, column 6]
----
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: #if image.getData()?? && image.getDat...  [in template "20116#20152#47530" at line 28, column 1]
----
	1<#-- Retrieve the published date meta data field of the web content --> 
				2<#assign 	 
				3	displaydate = .vars['reserved-article-display-date'].data 
				4    displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z") 
				5	articleId = .vars['reserved-article-id'].data 
				6	assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") 
				7	journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
				8	journalArticle = journalArticleLocalService.getArticle(20143,articleId) 
				9	resourcePrimKey = journalArticle.getResourcePrimKey() 
				10	listCategories = assetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle",resourcePrimKey) 
				11    ministry = "" 
				12/> 
				13<#list listCategories as category> 
				14	<#if category.getVocabularyId() == 80291> 
				15		<#assign ministry = category.getTitle(locale)> 
				16		<#break> 
				17	</#if> 
				18</#list> 
				19<h2 class="title bigheight">${.vars['reserved-article-title'].data}</h2> 
				20<br> 
				21<#assign locationMy = location.getData()> 
				22<#if locationMy == ""> 
				23	<#assign locationMy = "location"> 
				24</#if> 
				25<span class="redcolor uppercasetext">${ministry}/ ${locationMy} / ${displaydate?string["MMMM dd, yyyy"]}</span> 
				26 
				27<div class="l2news_detail_imgWrapper"> 
				28<#if image.getData()?? && image.getData() != "" && image.getData()?contains("http://www.moi.gov.mm/") > 
				29	<img class="topmargin20" data-fileentryid="${image.getAttribute("fileEntryId")}" alt="${image.getAttribute("alt")}" src="${"" + image.getData()?replace("http://www.moi.gov.mm/http://www.moi.gov.mm/", "http://www.moi.gov.mm/")?replace("https://www.moi.gov.mm/http://www.moi.gov.mm/", "https://www.moi.gov.mm/")}" /> 
				30<#elseif image.getData()?? && image.getData() != "" > 
				31	<img class="topmargin20" data-fileentryid="${image.getAttribute("fileEntryId")}" alt="${image.getAttribute("alt")}" src="${image.getData()}" /> 
				32</#if> 
				33</div> 
				34	<div class="clearifx"></div><br/><br/>  
				35	<p>${Content.getData()}</p> 
				36 
				37<#-- Check if pdfFileType exists first --> 
				38<#if pdfFileType?? && pdfFileType.getData()?has_content && pdfFileType.getData() != "[]"> 
				39 
				40    <#-- Clean and extract actual type --> 
				41    <#assign rawPdfType = pdfFileType.getData()?trim /> 
				42    <#assign pdfType = rawPdfType?replace('["', '')?replace('"]', '') /> 
				43 
				44    <#-- External PDF link --> 
				45    <#if pdfType == "externalUrl" || pdfType == "externalURL"> 
				46        <#if externalURL?? && externalURL.getData()?has_content> 
				47			<p><a href="${externalURL.getData()?trim}" target="_blank">Download ရယူရန်</a></p> 
				48        </#if> 
				49 
				50    <#-- Uploaded PDF --> 
				51    <#elseif pdfType == "uploadPDF" || pdfType == "uploadPdf"> 
				52        <#if uploadPDF??> 
				53            <#assign uploadedFiles = uploadPDF.getData()?eval /> 
				54            <#if uploadedFiles?has_content> 
				55                <#assign file = uploadedFiles[0] /> 
				56                <p><a href="${file.url}" target="_blank">Download ရယူရန်</a></p> 
				57            </#if> 
				58        </#if> 
				59    </#if> 
				60 
				61</#if> 
				62 
				63 
				64<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> 
				65<#if imageslide?has_content> 
				66	<div class="carosel" id="carosel1"> 
				67	 <div class="carosel-inner"> 
				68		<#if imageslide.getSiblings()?size gt 2> 
				69			<a class="carosel-control carosel-control-left"><i class="fa fa-angle-left"></i></a> 
				70		</#if> 
				71		<div> 
				72			<#if imageslide.getSiblings()?has_content> 
				73				<#list imageslide.getSiblings() as image> 
				74					<#if image.getData()?? && image.getData() != ""> 
				75						<img class="carosel-item" src="${image.getData()}" /> 
				76					</#if> 
				77				</#list> 
				78			</#if> 
				79		</div> 
				80		<#if imageslide.getSiblings()?size  gt 2> 
				81			<a class="carosel-control carosel-control-right"><i class="fa fa-angle-right"></i></a> 
				82		</#if> 
				83	  </div> 
				84	</div>	 
				85</#if> 
				86<script>  
				87 
				88$('.carosel-control-right').click(function() { 
				89  $(this).blur(); 
				90  $(this).parent().find('.carosel-item').first().insertAfter($(this).parent().find('.carosel-item').last()); 
				91}); 
				92$('.carosel-control-left').click(function() { 
				93  $(this).blur(); 
				94  $(this).parent().find('.carosel-item').last().insertBefore($(this).parent().find('.carosel-item').first()); 
				95}); 
				96</script> 
				97 
				98<style> 
				99.carosel-item { 
				100  width: 50% !important; 
				101  height:100% !important; 
				102} 
				103 
				104@media (max-width: 300px) { 
				105  .carosel-item { 
				106    width: 100%; 
				107  } 
				108  
				109} 
				110@media (min-width: 300px) { 
				111  .carosel-item { 
				112    width: 50%; 
				113  } 
				114} 
				115@media (min-width: 500px) { 
				116  .carosel-item { 
				117    width: 50%; 
				118  } 
				119  
				120} 
				121@media (min-width: 768px) { 
				122  .carosel-item { 
				123   width: 50%; 
				124    margin-right: 20px !important; 
				125  } 
				126} 
				127@media (max-width: 768px) { 
				128 .mnp_body .portlet-asset-publisher .asset-full-content .l2news_detail_imgWrapper img{ 
				129	width: 100% !important; 
				130	max-width :100% !important; 
				131  } 
				132} 
				133.portlet-asset-publisher .asset-full-content img{ 
				134	max-width: 100% !important; 
				135} 
				136.mnp_body .portlet-asset-publisher .asset-full-content .l2news_detail_imgWrapper img{ 
				137	width: 60%; 
				138} 
				139.carosel { 
				140  position: relative; 
				141  text-align: center; 
				142} 
				143.carosel-inner { 
				144  white-space: nowrap; 
				145  overflow: hidden; 
				146  font-size: 0; 
				147} 
				148.carosel-item { 
				149  display: inline-block; 
				150} 
				151.carosel-inner img{ 
				152  height: 240px; 
				153} 
				154.carosel-control { 
				155  position: absolute; 
				156  top: 50%; 
				157  padding: 15px; 
				158  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5); 
				159  transform: translateY(-50%); 
				160  border-radius: 50%; 
				161  color: rgba(0, 0, 0, 0.5); 
				162  font-size: 30px; 
				163  display: inline-block; 
				164} 
				165.carosel-control-left { 
				166  left: 15px; 
				167} 
				168.carosel-control-right { 
				169  right: 15px; 
				170} 
				171.carosel-control:active, 
				172.carosel-control:hover { 
				173  text-decoration: none; 
				174  color: rgba(0, 0, 0, 0.8); 
				175} 
				176.carosel-inner i{ 
				177	width: 30px; 
				178    height: 30px; 
				179    padding: 3px 0px; 
				180    border-radius: 15px; 
				181    text-align: center; 
				182    background: #fff; 
				183} 
				184.carosel-control-left{ 
				185	left : -40px; 
				186} 
				187.carosel-control-right{ 
				188	right : -40px; 
				189} 
				190.mnp_body .fa{ 
				191	font-size : 22px !important; 
				192	font-weight: bold !important; 
				193	color: #000000ad; 
				194} 
				195#column-3,#column-4,#column-5,#layout-column_column-1,.nav-pills,#form_wrapper,.home-layout-v2 #hometab1,#column-8,#column-7  { 
				196	display : none !important; 
				197} 
				198.mnp_body h2.title{ 
				199    margin: 0 !important; 
				200} 
				201.mnp_body p { 
				202    color: #000000; 
				203	font-size: 17px !important; 
				204	line-height: 28px !important; 
				205} 
				206.bodypadding p span { 
				207	font-size: 17px !important; 
				208	line-height: 28px !important; 
				209} 
				210</style> 
		 
                             
                                
