组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Mathias Kissig
Portal property "layout.user.private.layouts.modifiable" is obsolete
2012年4月25日 上午5:36
答复

Mathias Kissig

等级: New Member

帖子: 7

加入日期: 2012年2月19日

最近的帖子

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
2012年4月25日 上午6:00
答复

Barry Rowe

等级: New Member

帖子: 14

加入日期: 2010年10月22日

最近的帖子

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
2012年7月11日 上午12:01
答复

Jitendra Rajput

等级: Liferay Master

帖子: 580

加入日期: 2011年1月7日

最近的帖子

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
2012年7月11日 上午7:02
答复

Juan Gonzalez

LIFERAY STAFF

等级: Liferay Legend

帖子: 1235

加入日期: 2008年10月28日

最近的帖子

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.