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

KB Friendly URLs generated from AssetRenderer don't include folder

    Details

      Description

      Steps to reproduce:

      • Create a public page named "assets"
      • In the "assets" page, add an Asset Publisher portlet
      • Go to Admin > Content > Knowledge Base
      • Create a folder named "test"
      • Inside the "test" folder, create two articles "Test Article 1" and "Test Article 2"
      • Create a public page named "kb"
      • In the "kb" page, add a Knowledge Base Display" and configure it to show the "Test Article 1"
      • Go to the "assets" page
      • Assert that both articles show in the Asset Publisher
      • Click on the link for "Test Article 2"

      Expected: the user is redirected to the "kb" page and the "Test Article 2" is shown
      Actual: the user is redirected, but the "Test Article 1" is shown

      Alternative steps, using the incremental-search-hook and Search portlet on a EE bundle:

      • Make sure both incremental-search-hook and Knowledge Base plugins are deployed
      • Create a public page named "search"
      • In the "search" page, add a search portlet
      • In the search portlet configuration, choose "Advanced" and copy the attached configuration into the text area
      • Go to Admin > Content > Knowledge Base
      • Create a folder named "test"
      • Inside the "test" folder, create two articles "Test Article 1" and "Test Article 2"
      • Create a public page named "kb"
      • In the "kb" page, add a Knowledge Base Display" and configure it to show the "Test Article 1"
      • Go to the "search" page
      • In the search box, type "Test" (don't press Enter); an autocompletion box should appear
      • Click on the autocompleted result for "Test Article 2"

      Expected: the user is redirected to the "kb" page and the "Test Article 2" is shown
      Actual: the user is redirected, but the "Test Article 1" is shown

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 33 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M2