Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-27125

processAction method not invoked if url refers to different page

    Details

    • Liferay Contributor's Agreement:
      Accept

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              nasirhussain nasir hussain
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 14 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2