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

Exception is thrown when you import a LAR with a renamed DLFileEntry that already exists but new name collides with other DLFileEntry/DLFolder

    Details

      Description

      Steps to reproduce

      1. Create a new site
      2. Create a document into Document Library, called DocumentA
      3. Export site to a LAR file
      4. Rename document to DocumentB
      5. Create another document into Document Library, called DocumentA
      6. Import LAR file to site with document with old name (DocumentA)
        • Wrong behavior: During document import, "DocumentB" cannot renamed to "DocumentA" due name collision and a duplicate exception is thrown. LAR is not imported
        • Expected behavior: During document import, due of name collision with existing "DocumentA", "DocumentB" is renamed into "DocumentA 1". LAR is successfully imported

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 38 weeks ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 Alpha 2