-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.1.10 DXP FP15, 7.1.X, 7.2.10 DXP FP3, 7.2.X, 7.2.1 CE GA2, 7.3.10 DXP GA1, Master
-
Component/s: Dynamic Data Lists > Display
-
Branch Version/s:7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Steps to Reproduce
- Upload a document in Liferay DXP > Content > Documents and Media
- In Liferay DXP > Content > Dynamic Data Lists, click the three dots on the top right corner and select Management Data Definitions
- Create a new Data Definition with Documents and Media field.
- Create a data list from this data definition and select the document from Document and Media
- Delete the document from Documents and Media
- Delete the document completely from Recycle Bin
- Edit the data list
Actual Result
The documents upload tool is not usable. NoSuchFileEntryException is thrown in the log.
Expected Result
The user can still view the data list and be able to upload new file.
Notes for QA
The exception will still be shown in the logs, this is expected:
By default errors occurring inside an attempt block are logged with ERROR level, despite that the template recovers from them.
Reference: https://freemarker.apache.org/docs/ref_directive_attempt.html