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

MVC command actions using legacy portlet Ids don't get bound to the portlet

Details

    Description

      The MVCPortlet is using the method getPortletName() from GenericPortlet in order to define the filter for the MVCCommandCache(s). However, this name is post processed by the portlet container and does not necessarily reflect what you expect the value of javax.portlet.name to be.

      To address the problem and also to support backward compatibility the solution is to use an OR on both values, the result of getPortletName() and the real portletId.

      Attachments

        Activity

          People

            harry.chai Harry Chai
            raymond.auge Raymond Auge
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 21 weeks, 2 days ago

              Packages

                Version Package
                7.0.0 DXP FP11
                7.0.0 DXP SP2
                7.0.3 CE GA4
                Master