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

            Assignee:
            harry.chai Harry Chai
            Reporter:
            raymond.auge Raymond Auge
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 47 weeks ago

                Packages

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