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

Unable to change embedded Asset Publisher portlet's configuration when Staging is enabled with Page Variations

    Details

      Description

      Steps to reproduce:

      1. Create a site SiteA
      2. Create a Web Content Structure STR1 with a text field.
      3. Create a Web Content Template TP1 for STR1 with the following markup:
        <#assign VOID = freeMarkerPortletPreferences.setValue("displayStyleGroupId", themeDisplay.getCompanyGroupId()?string)>
        <@liferay_portlet["runtime"] defaultPreferences="${freeMarkerPortletPreferences}" portletProviderAction=portletProviderAction.VIEW portletProviderClassName="com.liferay.asset.kernel.model.AssetEntry" instanceId="mid1234" />
        <#assign VOID = freeMarkerPortletPreferences.reset()>
      1. Create a Web Content WC1 based off of STR1
      2. Create a page P1
      3. Activate Local Staging with Page Variations
      4. Add the Web Content WC1 to the page P1
      5. Go to the embedded Asset Publisher's configuration
      6. Change the Asset Type to Web Content Folder
      7. Clear content cached across the cluster
      8. Check P1 and the embedded Asset Publisher's configuration

      Expected results:

      • There are no results in the embedded Asset Publisher
      • The Asset Type value is set to Web Content Folder

      Actual results:

      • The Web Content WC1 is displayed in the embedded Asset Publisher
      • The Asset Type value is set to Any

        Attachments

          Activity

            People

            Assignee:
            lu.liu Lu Liu
            Reporter:
            daniel.couso Daniel Couso
            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:
              2 years, 19 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP57
                7.0.0 DXP SP9
                7.0.X
                7.1.X
                Master