- Add a 'Documents and Media' portlet in page.
- Add a folder 'test'.
- Add a document 'testfile.txt' under 'test' folder.
- Go to lportal.PortletPreferences for the Documents and Media portlet preference from '<preference><name>rootFolderId</name><value>211294</value></preference>' (or whatever the rootFolderId is) to '<preference><name>rootFolderId</name><value>9999</value></preference>' or any value which does not a real rootFolderId.
Note:Clear DBcache through control panel -> server administration.
- Go to the page in #1
Current behavior: there is 'Portlet is temporarily not available' warning displayed in UI (both in page and control panel). There is no way to change another folder as rootfolder. The following error was reported in console
Expected behavior: Remind user ' The folder could not be found.' and allow user to re-choose root folder.