There are some difference between master and ee-6.2.x.
For master, if the file or its folder has been removed from data folder, when try to download it, it shows not found message , but when try to edit it, it only shows "Your request failed to complete." and the user might not know what happens.
For ee-6.2.x, if the file has been removed, it cannot be downloaded but can be edited (which is not consistent with master). And if its folder has been removed, portlet will be temporarily unavailable, the exception should be caught.
When the data somehow lost during upgrade, it will result in some problems.
Steps to reproduce:
- Add 2 files to DM.
- Delete the file 1 from data folder: $liferay.home/data/document_library/20202/20233/1/1.0.
- Delete the folder of file 2 from data folder: $liferay.home/data/document_library/20202/20233/2.
- Try to edit the files.
For master, it both shows "Your request failed to complete."
For ee-6.2.x, the file 1 can be edited, and when trying to edit file 2, it shows "Documents and Media is temporarily unavailable.", and IOException throws.