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

Exception is thrown when you import a LAR with a new DLFileEntry with a name without extension that collides with other DLFileEntry with extension (or vice versa). See related validations at LPS-47852

    Details

    • Fix Priority:
      3

      Description

      Steps to reproduce

      1. Create a new site
      2. Import a JPG file into Document Library, and call it image.jpg (with extension)
      3. Export site to a LAR file
      4. Delete file image.jpg
      5. Import same JPG file into Document Library, and call it image (without extension)
      6. Import LAR file to site with document with old name image.jpg (with extension)
        • Wrong behavior: During document import, image.jpg cannot be imported due name collision with image (more info at LPS-47852) and a duplicate exception is thrown. LAR is not imported
        • Expected behavior: During document import, due of name collision with existing image, image.jpg is renamed into image 1.jpg. LAR is successfully imported
      7. Repeat previous steps but changing names: creating first image file and before importing LAR, create image.jpg file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jorge.diaz Jorge Diaz
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 40 weeks, 2 days ago

                  Packages

                  Version Package