Affects Version/s: Master
Component/s: Knowledge Base widget
Steps to reproduce the issue:
- Navigate to Knowledge Base in Control Panel.
- Add a folder named "Folder 1" (note the space in the middle)
- Add another folder named "Folder-1" (note the hyphen in the middle)
- 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.