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

When Asset Publisher is embedded, shared parameters are not ignored

    Details

      Description

      2) Add a new page, say /page2 (use 1 column layout for better visibility)
      3) Create a new category, say cat1 in the Global site
      4) In the Liferay site, create a new Basic Web Content and publish it
      5) Create and deploy a blank dummy theme where an Asset Publisher is embedded in the <footer> as per https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/embedding-portlets-in-themes-and-layout-templates:

      <@liferay_portlet["runtime"]
                portletProviderAction=portletProviderAction.VIEW
                portletProviderClassName="com.liferay.journal.model.JournalArticle"
       />
      

      A sample is hereby attached

      6) Navigate to /page2 and apply the theme to it, an Asset Publisher is automatically added to the page's Footer.
      7) Add also a Blogs portlet on the page, add a blog entry and categorize it with cat1, publish it
      8) Configure the Asset Publisher to be in Manual mode and select the web content from step 4) to be displayed
      9) On the Communication tab, tick to ignore the categoryId Shared Parameter. Save and close
      10) Observe how only the Basic Web Content shows in the Asset Publisher
      11) Click on the Blog entry's title and then on its category

      Expected: AP not to change its status
      Actual behavior: AP will show: "Content with Articles & Blogs <category name>" / There are no results

        Attachments

        1. classic-theme.war
          3.44 MB
        2. clean-theme.war
          2.21 MB
        3. fixed.png
          fixed.png
          12 kB

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              gregory.bretall Gregory Bretall (Inactive)
              Participants of an Issue:
              Recent user:
              Roland Pákai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 22 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP94
                  7.0.10.15 DXP SP15
                  7.0.X
                  7.1.0 M1
                  7.1.X
                  Master