processAction method not invoked if url refers to different page
Description
Environment
tomcat bundled tomcat-7.0.25 with liferay 6.1.10 EE GA1
Attachments
1
Activity
Show:

nasir hussain May 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
Details
Assignee
Michael SaechangMichael Saechang(Deactivated)Reporter
nasir hussainnasir hussainLiferay Contributor's Agreement
AcceptComponents
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Liferay Contributor's Agreement
Accept
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created May 4, 2012 at 5:16 AM
Updated June 24, 2023 at 4:00 PM
Resolved July 13, 2012 at 3:11 AM
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