掲示板
Legacy portal properties when upgrading 6.0.5 to 6.0.6
13年前 に Peter B West によって更新されました。
Legacy portal properties when upgrading 6.0.5 to 6.0.6
Junior Member 投稿: 56 参加年月日: 09/03/24 最新の投稿
I experienced some difficulties when upgrading from 5.2.3 to 6.0.5. See this forum posting.
As part of the solution, I specified some legacy properties in portal-ext.properties.
When can I drop these legacy properties? Is it OK to drop them in going from 6.0.5 to 6.0.6?
Thanks
As part of the solution, I specified some legacy properties in portal-ext.properties.
When can I drop these legacy properties? Is it OK to drop them in going from 6.0.5 to 6.0.6?
Thanks
13年前 に Hitoshi Ozawa によって更新されました。
RE: Legacy portal properties when upgrading 6.0.5 to 6.0.6
Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Well, if you have permissions.user.check.algorithm=5
the you have to upgrade the permission algorithm from Control Panel - Server
the you have to upgrade the permission algorithm from Control Panel - Server
13年前 に Minhchau Dang によって更新されました。
RE: Legacy portal properties when upgrading 6.0.5 to 6.0.6
Liferay Master 投稿: 598 参加年月日: 07/10/22 最新の投稿Peter B West:
When can I drop these legacy properties?
You can drop them one at a time as you update your data to switch to the current Liferay default value. In some cases, you might not care about the current default, but things like permission algorithm will need to stick around until you really have converted your permissions to the latest algorithm in use by Liferay.
8年前 に Robert Smith によって更新されました。
RE: Legacy portal properties when upgrading 6.0.5 to 6.0.6
Junior Member 投稿: 63 参加年月日: 09/10/15 最新の投稿
I have a question about the portal-legacy-<version>.properties located in the ROOT.war/WEB-INF/classes. What exactly are they?
Are they properties that were used in a previous deployed version that are no longer set?
Are they properties that were used in a previous deployed version that are no longer set?
8年前 に Alberto Chaparro によって更新されました。
RE: Legacy portal properties when upgrading 6.0.5 to 6.0.6
Liferay Master 投稿: 549 参加年月日: 11/04/25 最新の投稿
Hi Robert,
Legacy properties files contain the property values to keep the old behaviour regading a specific funcionality since it has changed in the current version in comparison with the version specified in the file name. So if you want to keep an specific old behaviour in your new version of Liferay you have to add tht property to your portal-ext.properties.
Regards.
Legacy properties files contain the property values to keep the old behaviour regading a specific funcionality since it has changed in the current version in comparison with the version specified in the file name. So if you want to keep an specific old behaviour in your new version of Liferay you have to add tht property to your portal-ext.properties.
Regards.
8年前 に Robert Smith によって更新されました。
RE: Legacy portal properties when upgrading 6.0.5 to 6.0.6
Junior Member 投稿: 63 参加年月日: 09/10/15 最新の投稿
Thanks for your comment Alberto.
Are the properties that are in the legacy files properties that were found in the property-ext.properties file? Were they removed from portal-ext.properties at upgrade time?
Are the properties that are in the legacy files properties that were found in the property-ext.properties file? Were they removed from portal-ext.properties at upgrade time?
8年前 に David H Nebinger によって更新されました。
RE: Legacy portal properties when upgrading 6.0.5 to 6.0.6
Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
No, nothing was removed, it was just that the value changed between versions.
For example, in 6.0 the user's last name was a required field. This was changed in 6.1+ to be optional.
However, if you wanted to keep the same behaviour of requiring last name, the portal-legacy-6.0.properties file would do that for you since it has:
So nothing got moved, relocated or anything like that. The value changed between the versions but the legacy property file would allow you to retain the old behaviour. Some people like that, some people don't.
Often it came down to not being aware of what all changed from 6.0 to 6.1 for example so you'd get forum posts (and I imagine JIRA/LESA tickets) asking why last name was not a required input parameter anymore.
For example, in 6.0 the user's last name was a required field. This was changed in 6.1+ to be optional.
However, if you wanted to keep the same behaviour of requiring last name, the portal-legacy-6.0.properties file would do that for you since it has:
users.last.name.required=true
So nothing got moved, relocated or anything like that. The value changed between the versions but the legacy property file would allow you to retain the old behaviour. Some people like that, some people don't.
Often it came down to not being aware of what all changed from 6.0 to 6.1 for example so you'd get forum posts (and I imagine JIRA/LESA tickets) asking why last name was not a required input parameter anymore.