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

Certain portlets can't be rendered on Content Page Experiences

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 7.2.X, Master
    • Fix Version/s: None
    • Component/s: Segments Editor
    • Labels:

      Description

      Reproduction steps:

      1. Create a Content Page
      2. From the Widgets list add a Categories Navigation portlet
      3. Create a New Experience→New Segment→Role equals Analytics Administrator
      4. Set a name for the New Segment→Save→Save

       Expected behaviour
      Categories Navigation portlet can be seen within the Section where it was placed and can be opened/configured.

       Actual behaviour
      Categories Navigation cannot be seen in any of the Sections. The Section seems to be empty.

       

      The root cause of the issue is here: github

      if ((portlet != null) && portlet.isInstanceable() &&
          !portlet.isAddDefaultResource() &&
          !Validator.isPassword(portlet.getInstanceId())) {    
      
          if (_log.isDebugEnabled()) {
              _log.debug(
                  StringBundler.concat(
                      "Portlet ", portlet.getPortletId(),
                      " is instanceable but does not have a valid instance ",
                      "id"));
          }
      
          portlet = null;
      }

      Having its instanceId changed by the segmentationId (like 'Q9XSq7SMTwld_SEGMENTS_EXPERIENCE_38457') rendering of the portlet is cancelled.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              balazs.safrany-kovalik Balázs Sáfrány-Kovalik
              Reporter:
              balazs.safrany-kovalik Balázs Sáfrány-Kovalik
              Participants of an Issue:
              Recent user:
              Balázs Sáfrány-Kovalik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 29 weeks, 5 days ago

                  Packages

                  Version Package