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

Two Knowledge Base Folders can have the exact same friendly url and that leads to browsing issues

    Details

      Description

      Steps to reproduce the issue:

      1. Navigate to Knowledge Base in Control Panel.
      2. Add a folder named "Folder 1" (note the space in the middle)
      3. Add another folder named "Folder-1" (note the hyphen in the middle)
      4. Check the database table "KBFolder" and you will see that there are 2 rows that have the exact same friendly url "folder-1".

      That is wrong because the friendly url should be unique because otherwise it will create browsing issues. 

      For example, if you add one knowledge base article in each of the previous folders and then you add a Knowledge Base Display portlet in a page, you will notice that when you switch the folder to display the article in the other folder it doesn't work. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hong.zhao Hong Zhao
                Reporter:
                sergio.gonzalez Sergio Gonzalez (Inactive)
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.X EE
                  7.1.X
                  Master