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

Import LAR file for News/Announcements Portlet failed

    Details

      Description

      Desc: Import LAR file failed for News - Announcements Portlet

       

      Reproduce steps:

      1. Open a page --> add News - Announcements Portlet
      2. Export Announcements Portlet Configuration and download the LAR file to computer (the downloaded file is 3k in size)
      3. Import the LAR file from computer by clicking the Select File button and select upload the file

      Expected result:

      Import success

      Actual result:

      Import failed with error message: "The file null cannot be imported, the file contains no data and cannot be uploaded. Please use the classic uploader"

       

      My investigation and finding:

      The error is thrown from:

      _getValidFiles function in the upload.js the line:

      if (size === 0) {

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              didxga Carter Chen
              Participants of an Issue:
              Recent user:
              Joyce Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                1 year, 2 weeks, 5 days ago

                Packages

                Version Package