Steps to reproduce it
- Startup a Liferay 6.2
- Create an DDM Structure with wcm images
- Create a JournalArticle for that structure and add images to it.
- Upgrade to 7.1
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.
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)
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.