Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Mathias Kissig
Portal property "layout.user.private.layouts.modifiable" is obsolete
25 aprile 2012 5.36
Risposta

Mathias Kissig

Punteggio: New Member

Messaggi: 7

Data di Iscrizione: 19 febbraio 2012

Messaggi recenti

Hello everyone,

I am currently working with Liferay Portal Enterprise Edition 6.1 EE GA1 (Paton / Build 6110 / February 15, 2012) and I have deployed two custom themes and six custom layouts plus a hook for the theme.

All seems to work fine, but during the startup of Liferay, the following messages are displayed in the console:
1
2Loading file:/C:/Users/mk/Projects/test-LR/tomcat-7.0.25/temp/5-my-theme-hook/WEB-INF/classes/portal.properties
310:11:37,636 INFO  [HookHotDeployListener:1557] Portal property "layout.user.private.layouts.modifiable" is obsolete
410:11:37,637 INFO  [HookHotDeployListener:1557] Portal property "layout.user.public.layouts.modifiable" is obsolete
510:11:37,739 INFO  [HookHotDeployListener:962] Hook for my-theme-hook is available for use


Looking into the HookHotDeployListener class, those two properties are indeed marked as obsolete and now I would like to know with which properties I should replace them.
And after checking the mentioned portal.properties file in the directory and also my development environment, I could not find a single reference to these properties. Does anyone know, where those properties were/are set?

Many thanks in advance for you answers and best regards,
Mathias Kissig
Barry Rowe
RE: Portal property "layout.user.private.layouts.modifiable" is obsolete
25 aprile 2012 6.00
Risposta

Barry Rowe

Punteggio: New Member

Messaggi: 14

Data di Iscrizione: 22 ottobre 2010

Messaggi recenti

We are seeing the same thing after upgrading to 6.1 EE GA1. We have a single hook plugin we are deploying, and we do have a portal.properties file set, but it does not contain either "layout.user.private.layouts.modifiable" or "layout.user.public.layouts.modifiable".

The properties are as follows:

application.startup.events=package.for.ourCustomEvent
logout.events.post=package.for.our.CustomLogout.Event
login.events.post=package.for.our.CustomLogin.Event
servlet.service.events.pre=package.for.our.Custom.ServicePreAction
#auto.login.hooks=

This is the same in our source directory, and the bundled portal.properties in WEB-INF/classes after building the war for the plugin.
Jitendra Rajput
RE: Portal property "layout.user.private.layouts.modifiable" is obsolete
11 luglio 2012 0.01
Risposta

Jitendra Rajput

Punteggio: Liferay Master

Messaggi: 580

Data di Iscrizione: 7 gennaio 2011

Messaggi recenti

Even i am also getting the same message

106:53:54,067 INFO  [HookHotDeployListener:1557] Portal property "layout.user.private.layouts.modifiable" is obsolete
206:53:54,067 INFO  [HookHotDeployListener:1557] Portal property "layout.user.public.layouts.modifiable" is obsolete


Any solution or alternative for this property ?
Juan Gonzalez
RE: Portal property "layout.user.private.layouts.modifiable" is obsolete
11 luglio 2012 7.02
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1235

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

Alternative for this property is configure this by permissions. You'd have to Define Permissions for a role and then remove permissions if necessary. You probably want to remove them from Power User or User role.