7.0.X, 7.1.X, 7.2.X, Master
Steps to reproduce:
- Login with default Liferay admin
- Create a new site "Test Site" with a public page
- Add Documents & Media portlet to the new page
- Create a folder "Test Folder" inside D&M portlet
- Configure D&M portlet to set root folder to "Test Folder"
- Use the D&M portlet to add a new shortcut
- In "New File Shortcut" dialog, first select the Liferay DXP site
- Now try to select a document
Actual behavior: The "Select File" dialog only displays files from the current "Test Site" instead of files from "Liferay DXP" site.
Expected behavior: Files from the "Liferay DXP" site should be displayed. If you leave the default root folder, you are able to select files from Liferay site.