掲示板

Error in Forum portlet Permission

thumbnail
11年前 に Subhasis Roy によって更新されました。

Error in Forum portlet Permission

Expert 投稿: 275 参加年月日: 12/01/20 最新の投稿
Hi,

I have added the default Forum portlet of liferay in one of my site pages and then I clicked on the permission button in the Forum portlet.
But I am getting following error:

Error:

05:51:51,263 INFO [PortalImpl:3812] Current URL /null generates exception: null
05:51:51,263 INFO [PortalImpl:3824]


Can anyone please help on this. My site and portlet has the default language as German.
thumbnail
11年前 に Juan Gonzalez によって更新されました。

RE: Error in Forum portlet Permission

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
What are the values of these properties in your portal-ext.properties

redirect.url.*
?

Are you using a load balancer/proxy behind, like Apache?
thumbnail
11年前 に Subhasis Roy によって更新されました。

RE: Error in Forum portlet Permission

Expert 投稿: 275 参加年月日: 12/01/20 最新の投稿
Juan Gonzalez:
What are the values of these properties in your portal-ext.properties

redirect.url.*
?

Are you using a load balancer/proxy behind, like Apache?



Hi Juan,

I don't have any entry in the portal-ext.properties also I am not using any load balancer.
Should I need to have any entry.
As Forum is a default Liferay portlet so I guess I don't need to have any setting in the portal-ext.properties file. Please correct me if I am wrong.

Regards,
subhasis
thumbnail
11年前 に Subhasis Roy によって更新されました。

RE: Error in Forum portlet Permission

Expert 投稿: 275 参加年月日: 12/01/20 最新の投稿
Got the solution.

Added the following key in the portal-ext.properties file

redirect.url.security.mode=domain

The problem is that we have the following entries in our portal-ext.properties file. So at the time of constructing the redirect url for any button hit on the portlet struts is not able to construct the URL. As the default language is not EN. So we added the above line.

#Default country and language
user.country=DE
user.language=de



Reference: http://www.liferay.com/community/forums/-/message_boards/message/5305263