Foren
Error in Forum portlet Permission
Subhasis Roy, geändert vor 11 Jahren.
Error in Forum portlet Permission
Expert Beiträge: 275 Beitrittsdatum: 20.01.12 Neueste Beiträge
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.
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.
Juan Gonzalez, geändert vor 11 Jahren.
RE: Error in Forum portlet Permission
Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
What are the values of these properties in your portal-ext.properties
Are you using a load balancer/proxy behind, like Apache?
redirect.url.*
?Are you using a load balancer/proxy behind, like Apache?
Subhasis Roy, geändert vor 11 Jahren.
RE: Error in Forum portlet Permission
Expert Beiträge: 275 Beitrittsdatum: 20.01.12 Neueste BeiträgeJuan 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
Subhasis Roy, geändert vor 11 Jahren.
RE: Error in Forum portlet Permission
Expert Beiträge: 275 Beitrittsdatum: 20.01.12 Neueste Beiträge
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
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