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

Category Navigation portlet is not shown for different experience segments

    Details

      Description

      Reproduction steps:

      1. Create a content page
      2. Add Publisher portlet and Category Navigation portlet
      3. Create new Experience for this page

      For new Experience we see only Publisher portlet and can't add Category Navigation portlet.

       

       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

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  18 weeks, 1 day ago

                  Packages

                  Version Package
                  7.2.10 DXP FP8
                  7.2.10.2 DXP SP3
                  7.2.X
                  Master