Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-102621

Unable to edit Dynamic Data List entries due to NoSuchFileEntryException

    Details

      Description

      Steps to Reproduce

      1. Upload a document in Liferay DXP > Content > Documents and Media
      2. In Liferay DXP > Content > Dynamic Data Lists, click the three dots on the top right corner and select Management Data Definitions
      3. Create a new Data Definition with Documents and Media field.
      4. Create a data list from this data definition and select the document from Document and Media
      5. Delete the document from Documents and Media
      6. Delete the document completely from Recycle Bin
      7. 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

        Attachments

          Activity

            People

            • Assignee:
              harry.chai Harry Chai
              Reporter:
              eric.yan Eric Yan
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Eric Yan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                49 weeks, 5 days ago

                Packages

                Version Package
                7.1.10 DXP FP15
                7.1.X
                7.2.10 DXP FP3
                7.2.X
                7.2.1 CE GA2
                Master