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

Exception is thrown when you import a LAR with a new JournalFolder with a name that collides with other JournalFolder

    Details

      Description

      Steps to reproduce with JournalFolder

      1. Create a new site
      2. Create a JournalFolder into webcontent, called "Test"
      3. Create a JournalArticle into previous created "Test" JournalFolder
      4. Export site to a LAR file
      5. Delete JournalFolder "Test" and empty the recycle bin
      6. Create another JournalFolder into webcontent, called "Test"
      7. Import LAR file to site with old JournalFolder called "Test"
        • Wrong behavior: During document import, "Test" JournalFolder cannot imported as other folder with name "Test" already exists and a duplicate exception is thrown. LAR is not imported
        • Expected behavior: During document import, due of name collision with existing JournalFolder "Test", new JournalFolder "Test" is renamed into "Test (2)". LAR is successfully imported

        Attachments

        1. reproduced58650.PNG
          reproduced58650.PNG
          21 kB
        2. fixed-58650-master2.PNG
          fixed-58650-master2.PNG
          12 kB
        3. fixed-58650-master.PNG
          fixed-58650-master.PNG
          8 kB
        4. fixed-58650-6.2(2).PNG
          fixed-58650-6.2(2).PNG
          45 kB
        5. fixed-58650-6.2.PNG
          fixed-58650-6.2.PNG
          7 kB

          Issue Links

            Activity

              People

              Assignee:
              ian.song Ian Song (Inactive)
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 2 weeks, 1 day ago

                  Packages

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