processAction method not invoked if url refers to different page

Description

Create 2 MVC portlets Event Producer and Event Consumer implementing IPC
set properties in portal-ext.properties file
portlet.event.distribution=layout-set
layout.default.p_l_reset=false

Place these portlets on different pages, from look and feel of producer portlet, link to page on which consumer portlet is placed. In case of user is login, portlets work correctly but in case of logout the processAction method of producer class is not called.

I investigated a bit and found out there is problem in AdvancedPermissionChecker.java

Boolean value = PermissionCacheUtil.getPermission(user.getUserId(), signedIn, checkGuest, groupId, name, primKey, actionId);

here value is false in case of logout

I have attached a sample ipc portlet facing this problem

Environment

tomcat bundled tomcat-7.0.25 with liferay 6.1.10 EE GA1

Attachments

1
  • 04 May 2012, 05:16 AM

Activity

Show:

nasir hussainMay 4, 2012 at 5:18 AM

I investigated a bit and found out there is problem in AdvancedPermissionChecker.java

Boolean value = PermissionCacheUtil.getPermission(user.getUserId(), signedIn, checkGuest, groupId, name, primKey, actionId);

here value is false in case of logout

I have attached a sample ipc portlet facing this problem

Duplicate
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Liferay Contributor's Agreement

Accept

Priority

Zendesk Support

Created May 4, 2012 at 5:16 AM
Updated June 24, 2023 at 4:00 PM
Resolved July 13, 2012 at 3:11 AM

Flag notifications