Details

      Description

      The current portlet and test for the Apache Pluto demo portlet PortletConfigPortlet does not produce the same results on Liferay as Pluto.

      The following are missing expected custom portlet modes as they show on Apache Pluto:

      portalmanaged_3
      mymode_nonportalmanaged_1, false
      mymode_nonportalmanaged_1, false
      

      This looks to be because of our current implementation of allowed states is different:
      https://github.com/liferay/liferay-portal/blob/e0d95ac47346a60deab672892b2eee4eaf9249a4/portal-impl/src/com/liferay/portal/service/impl/PortletLocalServiceImpl.java#L2516

      https://github.com/liferay/liferay-portal/blob/e0d95ac47346a60deab672892b2eee4eaf9249a4/portal-impl/src/com/liferay/portal/util/PortalImpl.java#L6532

      We may need to just need to create our own Liferay-specific version of this portlet (or maybe just the test https://github.com/apache/portals-pluto/blob/master/demo-integration-tests/src/test/java/org/apache/portals/pluto/demo/integration/test/PortletConfigDemoIT.java)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                victor.ware Victor Ware
                Recent user:
                Lester Pi
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: