Format

Ultim'ora ilSole24Ore
RadioCOR

Radiocor Il Sole24Ore

Si è verificato un errore nell'elaborarazione del modello.
No compatible overloaded variation was found; wrong number of arguments.
The FTL type of the argument values were: extended_hash+string (com.liferay.portal.model.impl.LayoutSetImpl wrapped into f.e.b.StringModel), extended_hash+string (com.liferay.portal.kernel.theme.ThemeDisplay wrapped into f.e.b.StringModel).
The matching overload was searched among these members:
    com.liferay.portal.util.PortalImpl.getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet, com.liferay.portal.kernel.theme.ThemeDisplay, Locale),
    com.liferay.portal.util.PortalImpl.getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet, com.liferay.portal.kernel.theme.ThemeDisplay, boolean, boolean)

----
FTL stack trace ("~" means nesting-related):
	- Failed at: groupPrependURL = portalUtil.getGroup...  [in template "51632#51678#3825353" at line 15, column 5]
----
1<#assign  
2    journalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
3    groupService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService") 
4    layoutSetService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutSetLocalService") 
5/> 
6 
7<#assign  
8    portletTitle = themeDisplay.getPortletDisplay().getTitle() 
9    articleId = .vars['reserved-article-id'].data 
10    articleGroupId = .vars['articleGroupId'] 
11    journalArticle = journalService.getLatestArticle(articleGroupId?number,articleId?string,0) 
12    urlTitle = journalArticle.getUrlTitle() 
13    group = groupService.getGroup(groupId?number) 
14    groupFriendlyURL = group.getFriendlyURL() 
15    groupPrependURL =  portalUtil.getGroupFriendlyURL(layoutSetService.getLayoutSet(groupId?number, false), themeDisplay) 
16    radiocorIndex = radiocor_news_tool.getNewsIndex(-1) 
17    dateTimeFormat = languageUtil.get(locale, "HH:mm, dd MMM yyyy") 
18/> 
19 
20<div class="container"> 
21    <div class="row"> 
22        <div class="col-12"> 
23            <section id="portlet_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_WHVNEmdn4eE1" class="portlet"> 
24                <div class="portlet-content"> 
25                    <div class=" portlet-content-container"> 
26                        <div class="portlet-body"> 
27                            <div class="row"> 
28                                <#list radiocorIndex as r> 
29                                <div class="col-md-4 col-lg-3"> 
30                                    <#include "${templatesPath}/RADIOCOR" /> 
31                                </div> 
32                                </#list> 
33                            </div> 
34                        </div> 
35                    </div> 
36                </div> 
37            </section> 
38        </div> 
39    </div> 
40</div>