Missconfigured or missplaced portlet, no content found
Dynamic Content: false
Master Name: Pcases-titulo-web-content
Template Key:
Fehler bei der Verarbeitung der Vorlage.
The following has evaluated to null or missing:
==> asset.getDDMFormValuesReader().getDDMFormValues()  [in template "20101#20128#3282403" at line 10, column 29]

----
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 fields = asset.getDDMFormValu...  [in template "20101#20128#3282403" at line 10, column 10]
----
1<#if entries?has_content> 
2 
3   <#assign cdn = (mlxUrlUtilService.getCdn(groupId))!"" /> 
4 
5   <#assign globalGroupId = mlxConstants.getLongConstant("GroupIds","GLOBAL")/> 
6   <div class="corporate--cases--carouselv4"> 
7      <div class="corporate--cases--carouselv4--top--container" data-gtm-block-name="Case-study" data-js="slider" data-js-type="tiny-slider" data-js-config='{"container": ".corporate--cases--carouselv4--top--container", "autoplay":true, "autoplayButtonOutput":false, "mouseDrag":true, "controls":false, "loop":false, "navContainer": ".corporate--cases--carouselv4--bottom--container"}'> 
8         <#list entries as curEntrys> 
9         <#assign asset = curEntrys.getAssetRenderer() /> 
10         <#assign fields =  asset.getDDMFormValuesReader().getDDMFormValues().getDDMFormFieldValues() /> 
11         <#assign articles = mlxAssetHelperService.getJournalArticleByEntry(curEntrys)/> 
12          
13         <#assign articleValues = mlxJournalHelperService.getStructureFieldValues(articles, "${locale}") /> 
14          
15         <#assign articlesUrl = mlxUrlUtilService.getUrlByJournalArticle(articles, "${locale}", groupId)?string /> 
16         <#assign articleNames = (articleValues["description"]?string)!"" /> 
17         <#assign articleVideoContent = mlxJournalHelperService.getStructureFieldValue(articles, "video_gallery_file", "${locale}")![] /> 
18         <#assign articleDescription = (articleValues["html_description"]?string)!"" /> 
19         <#assign clientStrKey = "CLIENT-STR"/> 
20         <#assign articleClient = (mlxAssetHelperService.getFirstRelatedArticle(groupId, articles.articleId, clientStrKey))!"" /> 
21         <#assign globalGroupId = mlxConstants.getLongConstant("GroupIds","GLOBAL")/> 
22         <#assign articleUrl =  mlxUrlUtilService.getUrlByJournalArticle(articles, "${locale}", groupId)?string /> 
23         <#if articleClient != "">        
24         <#assign clientName = mlxJournalHelperService.getStructureFieldValue(articleClient, "name", "${locale}")?string />                               
25         <#else> 
26         <#assign clientName = articleNames>   
27         </#if>                    
28         <#if articleNames?has_content>  
29            <article class="item corporate--cases--carouselv4--top--item"> 
30                <figure class="corporate--cases--carouselv4--top--figure"> 
31                 
32                <#list fields as field> 
33                    <#if field.getName()=="name"> 
34                            <#assign articleImageContent = (articleValues["standout_image"])!"{}" /> 
35                            <#if articleImageContent != ""> 
36                                <#assign articleImageContent = jsonFactoryUtil.createJSONObject(articleImageContent) /> 
37                                <#assign articleImage = mlxDocumentsHelperService.getDocumentUrlFromUUID(articleImageContent.uuid, "${locale}") /> 
38                                ${corporate.img(cdn+articleImage, false, 'class="corporate--cases--carouselv4--top--image"')} 
39                            </#if>  
40                    </#if>  
41                </#list> 
42                </figure> 
43                <div class='corporate--cases--carouselv4--top--content'> 
44                    <h3 class="corporate--cases--carouselv4--top--title">${clientName}</h3> 
45                    <p class="corporate--cases--carouselv4--top--description"> 
46                        <#if articleNames?length &lt; 263> 
47                            ${articleNames} 
48                        <#else> 
49                            ${articleNames?substring(0,263)}... 
50                        </#if> 
51                    </p> 
52                    <a href="${articleUrl}" title="" class="corporate--cases--carouselv4--top--cta"><@corporate.mlxlanguage key="mlx.client.see-practical-case" /></a> 
53                </div> 
54            </article> 
55         </#if> 
56         </#list> 
57      </div> 
58       
59      <div class="corporate--cases--carouselv4--bottom--container" data-js="slider" data-js-type="tiny-slider" data-js-config='{"container": ".corporate--cases--carouselv4--bottom--container", "autoplay":false, "autoplayButtonOutput":false, "mouseDrag":true, "controls":false, "nav":false, "loop":false, "items":3}'> 
60         <#list entries as curEntrys> 
61         <#assign article = mlxAssetHelperService.getJournalArticleByEntry(curEntrys) /> 
62         <#assign WarticleClient = (mlxAssetHelperService.getFirstRelatedArticle(groupId, article.articleId, clientStrKey))!"" /> 
63         <div class="item corporate--cases--carouselv4--bottom--item"> 
64            <div class="content corporate--cases--carouselv4--bottom--content"> 
65               <#if WarticleClient != ""> 
66                <#assign WarticleClientValues = mlxJournalHelperService.getStructureFieldValues(WarticleClient, "${locale}") /> 
67               <#assign Wnames = (WarticleClientValues["name"]?string)!"" /> 
68               <div class="content corporate--cases--carouselv4--bottom--title">${Wnames}</div> 
69                                        
70            </#if> 
71            </div> 
72            <#if WarticleClient != ""> 
73            <#assign clientLogoContent = (WarticleClientValues["logo"])!"{}"  /> 
74             
75			<#if clientLogoContent?has_content> 
76				<#assign clientLogoContent = clientLogoContent?replace('\\u','') />	 
77				<#assign clientLogo = clientLogoContent?eval /> 
78			</#if> 
79             
80            <#assign clientName = (WarticleClientValues["name"]?string)!"" /> 
81             
82            <#if clientLogo?has_content> 
83            <#assign fileEntry = mlxDLFileEntryHelperService.getDLFileEntry(clientLogo.uuid, globalGroupId) /> 
84            <#assign clientLogoUrl = mlxDocumentsHelperService.getDocumentUrlFromUUID(clientLogo.uuid, "${locale}") /> 
85            <#assign clientLogoAlt = mlxExpandoService.getExpandoValueForClass("com.liferay.document.library.kernel.model.DLFileEntry","mlxDocumentTitle",fileEntry.getFileVersion().getFileVersionId()).getString(locale)!""/> 
86             
87            <#if clientLogoAlt == ""> 
88				<#assign clientLogoAlt = clientName /> 
89			</#if> 
90             
91            <figure class="corporate--cases--carouselv4--bottom--figure">   
92               ${corporate.img(cdn+clientLogoUrl, false, 'alt="' + clientLogoAlt + '"', 'title="' + clientLogoAlt + '"', 'class="corporate--cases--carouselv4--bottom--image"')}           
93            </figure> 
94            </#if> 
95            </#if> 
96         </div> 
97         </#list> 
98      </div> 
99   </div> 
100    
101</#if> 

Hier können Sie einige Lösungen sehen, die Mecalux entwickelt hat. Nehmen Sie Kontakt zu uns auf und wir bieten Ihnen die ideale Lösung für Ihr Unternehmen an.

Kontaktieren Sie uns
Fehler bei der Verarbeitung der Vorlage.
Java method "com.mecalux.util.service.impl.MlxJournalHelperServiceImpl.getStructureFieldValue(com.liferay.journal.model.JournalArticle, String, String)" threw an exception when invoked on com.mecalux.util.service.impl.MlxJournalHelperServiceImpl object "com.mecalux.util.service.impl.MlxJournalHelperServiceImpl@2fda45b4"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign clientName = (mlxJournalHelpe...  [in template "20101#20128#3282412" at line 24, column 25]
----
1<#assign listTitle><@corporate.mlxlanguage key='mlx.practical-case.some-practical-cases' /></#assign> 
2 
3<#--############################## Pintamos el listado de casos prácticos ##############################--> 
4<div class="corporate--cases--list--container"> 
5	<h3 class="corporate--cases--list--title">${listTitle}</h3> 
6	<div class="corporate--cases--list"> 
7<#if entries?has_content> 
8 
9	<#assign cdn = (mlxUrlUtilService.getCdn(groupId))!"" /> 
10 
11	<#list entries as curEntry> 
12 
13		<#assign asset = curEntry.getAssetRenderer() /> 
14		<#assign clientStrKey = "CLIENT-STR" /> 
15		<#assign article = mlxAssetHelperService.getJournalArticleByEntry(curEntry) /> 
16		<#assign related_client =  (mlxAssetHelperService.getFirstRelatedArticle(groupId, article.articleId, clientStrKey))!"" /> 
17		<#assign articleValues =  mlxJournalHelperService.getStructureFieldValues(article, "${locale}") /> 
18		<#assign articleName = (articleValues["name"]?string)!"" /> 
19 
20		<#-- cliente --> 
21		<#assign articleClient = (mlxAssetHelperService.getFirstRelatedArticle(themeDisplay.getScopeGroupId(), article.articleId, clientStrKey))!"" /> 
22		<#assign clientName = "" /> 
23		<#if articleClient != ""> 
24			<#assign clientName = (mlxJournalHelperService.getStructureFieldValue(articleClient, "name", "${locale}")?string)!"" /> 
25			<#-- sector --> 
26    		<#assign vocabularyId = mlxConstants.getLongConstant('VocabularyIds','VOCABULARY_SECTORS_ID')!"" /> 
27    		<#assign entry = mlxAssetHelperService.getAssetEntryByJournalArticle(articleClient)!"{}" /> 
28    		<#assign categoryId = (mlxAssetHelperService.getAssetCategoryByAssetEntryAndVocabularyId(entry, vocabularyId).categoryId)!0 /> 
29    		<#assign assetCategory = mlxAssetHelperService.getAssetCategory(categoryId)!"" /> 
30    		 
31    		<#if assetCategory != ""> 
32        		<#assign sectorTitle = assetCategory.getTitle(locale)!"" /> 
33        	<#else> 
34        	    <#assign sectorTitle = "" /> 
35        	</#if> 
36		</#if> 
37 
38		<#assign fields =  asset.getDDMFormValuesReader().getDDMFormValues().getDDMFormFieldValues() />		 
39		<#list fields as field> 
40    		<#if field.getName()=="name"> 
41                    <#assign articleImageObj = (articleValues.list_imageFieldSet["list_image"]?replace('\\u','')?eval)!{} /> 
42                    <#assign articleImage = mlxDocumentsHelperService.getDocumentUrlFromUUID(articleImageObj.uuid, "${locale}") /> 
43                     
44                    <#--  URL de articulo  --> 
45                    <#assign articleUrl =  mlxUrlUtilService.getUrlByJournalArticle(article, "${locale}", groupId)?string /> 
46             
47                    <#assign name=field.getValue().getString(locale)/> 
48 
49    		</#if> 
50		</#list> 
51		 
52		<article class="corporate--cases--list--item">			 
53			<a href="${articleUrl}" title="${clientName}" class="corporate--cases--list--item--link"> 
54				<figure class="corporate--cases--list--item--figure"> 
55 
56	    		<#assign imgUrl = articleImage> 
57					<#assign imgWidth = '320'> 
58	    		<#assign imgTitle = clientName> 
59	    		<#assign imgAlt = clientName> 
60	    		<#assign imgClass = 'corporate--cases--list--item--image'> 
61	    		<#assign urlParamConcat = imgUrl?contains("?")?then("&","?")> 
62					${corporate.img(cdn + imgUrl + urlParamConcat + 'imwidth=' + imgWidth + '', true, 
63													'alt="' + imgAlt + '"', 'title="' + imgTitle + '"', 'class="' + imgClass + '"' 
64													'srcset="' + imgUrl + urlParamConcat + 'imwidth=320&imdensity=1 320w,' +  
65																			 imgUrl + urlParamConcat + 'imwidth=640&imdensity=1 640w,' +  
66																			 imgUrl + urlParamConcat + 'imwidth=1024&imdensity=1 1024w,' + 
67																			 imgUrl + urlParamConcat + 'imwidth=2048&imdensity=1 2048w"')} 
68 
69				</figure> 
70					<h5 class="corporate--cases--list--item--upper-heading">${clientName}</h5> 
71						 
72				<h3 class="corporate--cases--list--item--link-wrapper"> 
73					${name} 
74				</h3> 
75			</a> 
76			 
77			<#if articleClient != ""> 
78			    <span class="corporate--cases--list--item--heading">${sectorTitle}</span> 
79		    </#if> 
80 
81		</article> 
82 
83	</#list> 
84 
85</#if> 
86	</div> 
87	<div id="noDataMSG"></div> 
88</div>