Buscando, por favor espere....

Estás en: Gobierno abierto

Gobierno abierto | Ayuntamiento de Valencia - València

ACTUALIDAD


TRÁMITES


ENLACES DE INTERÉS


Redes sociales

  • Participa València

Se ha producido un error al procesar la plantilla.
Java method "com.liferay.portal.model.impl.UserImpl.getRoles()" threw an exception when invoked on com.liferay.portal.model.impl.UserImpl object "{\"mvccVersion\": 93, \"ctCollectionId\": 0, \"uuid\": \"13b5a5aa-7577-fed5-79a2-a5a301401f4f\", \"externalReferenceCode\": \"13b5a5aa-7577-fed5-79a2-a5a301401f4f\", \"userId\": 20119, \"companyId\": 20115, \"createDate\": \"2018-04-17 05:35:15.055\", \"modifiedDate\": \"2024-01-18 08:13:15.678\", \"defaultUser\": true, \"contactId\": 20120, \"password\": \"password\", \"passwordEncrypted\": false, \"passwordReset\": false, \"passwordModifiedDate\": null, \"digest\": \"a14b6ab7dda8a99e545401d71c78e41e,9890f733429d1843a3ec73858454039d,9890f733429d1843a3ec73858454039d\", \"reminderQueryQuestion\": \"\", \"reminderQueryAnswer\": \"\", \"graceLoginCount\": 0, \"screenName\": \"20119\", \"emailAddress\": \"default@hiberus.com\", \"facebookId\": 0, \"googleUserId\": \"\", \"ldapServerId\": 0, \"openId\": \"\", \"portraitId\": 0, \"languageId\": \"ca_ES\", \"timeZoneId\": \"Europe/Paris\", \"greeting\": \"Bienvenido!\", \"comments\": \"\", \"firstName\": \"\", \"middleName\": \"\", \"lastName\": \"\", \"jobTitle\": \"\", \"loginDate\": \"2018-04-17 05:35:14.846\", \"loginIP\": \"\", \"lastLoginDate\": null, \"lastLoginIP\": \"\", \"lastFailedLoginDate\": null, \"failedLoginAttempts\": 0, \"lockout\": false, \"lockoutDate\": null, \"agreedToTermsOfUse\": true, \"emailAddressVerified\": false, \"status\": 0}"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: roles = user.getRoles()  [in template "20115#20151#154048" at line 9, column 14]
----
1<#assign UserGroup = serviceLocator.findService("com.liferay.portal.kernel.service.UserGroupLocalService")> 
2 
3${content.getData()} 
4 
5<a id="topButton" style="display:none;"></a> 
6 
7 
8<#if user != 'Guest'> 
9    <#assign roles = user.getRoles() 
10           showcontrolmenu = true 
11    /> 
12	<#assign esEditor = UserGroup.hasUserUserGroup(user.getUserId(), 1373954)  /> 
13    <#list roles as role> 
14        <#if role.getName() == "Administrator" || esEditor> 
15            <#assign showcontrolmenu = false /> 
16            <#break> 
17        </#if> 
18    </#list> 
19    <#if showcontrolmenu > 
20        <style> 
21        .controls-visible .portlet-topper-toolbar { 
22            display: none; 
23
24        </style> 
25    </#if> 
26</#if> 
27 
28<script> 
29    $(document).ready(function(){ 
30        if($("#enlace-ancla").val() !== undefined){ 
31            if(screen.width < 767){ 
32                $('html,body').animate({scrollTop: $("#enlace-ancla").offset().top - 75}, 0); 
33            }else{ 
34                $('html,body').animate({scrollTop: $("#enlace-ancla").offset().top}, 0); 
35
36
37    }); 
38 
39 
40    //if(typeof noURL === "undefined" || typeof noURL === "string" ){ 
41    if(!window.location.href.includes("uid=")){ 
42    var urlList = []; 
43    if(localStorage && localStorage.urlList){ 
44        var urlList = JSON.parse(localStorage.urlList) ; 
45 
46
47 
48 
49 
50    if(urlList.length === 20){ 
51        urlList.shift(); 
52        urlList.push(themeDisplay.getLayoutId()); 
53    }else{ 
54        urlList.push(themeDisplay.getLayoutId()); 
55
56 
57    localStorage.setItem("urlList", JSON.stringify(urlList)); 
58 
59
60 
61    var btn = $('#topButton'); 
62 
63    $(window).scroll(function() { 
64        if ($(window).scrollTop() > 300 && screen.width < 767) { 
65            btn.show(); 
66        } else { 
67            btn.hide(); 
68
69    }); 
70 
71    btn.on('click', function(e) { 
72      e.preventDefault(); 
73      if($("#enlace-ancla").val() !== undefined){ 
74        $('html,body').animate({scrollTop: $("#enlace-ancla").offset().top - 75}, '300'); 
75      }else{ 
76        $('html, body').animate({scrollTop:0}, '300'); 
77
78    }); 
79 
80</script>