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

Upgrade to Liferay 7.1: JournalArticleImages are not removed after migrating them succesfully to the DL

    Details

      Description

      Steps to reproduce it

      1. Startup a Liferay 6.2
      2. Create an DDM Structure with wcm images
      3. Create a JournalArticle for that structure and add images to it.
      4. Upgrade to 7.1

      Results:
      After the process com/liferay/journal/internal/upgrade/v1_1_0/UpgradeImageTypeContent.java the images have been converted into fileEntries in the DL but:

      • JournalArticleImage table contains the records for those images
      • document_library filesystem contains the images twice, one in the folder associated to the DL and another one for the journal article image.

      Expected results:
      Have a way to drop the JournalArticleImage table and its references in the DL store (not the created one in the process, the old ones)

      Analysis:
      Maybe in some cases can be good to mantain the images as a backup (although users should have the backup from the original version) for a while but we should have an process which can be executed on demand to delete these files.

        Attachments

          Activity

            People

            Assignee:
            lu.liu Lu Liu
            Reporter:
            alberto.chaparro Alberto Chaparro
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 23 weeks, 5 days ago

                Packages

                Version Package
                Master