Issue
After upgrading from 7.3 to 2024.Q3 we are getting lots of WARN traces related to com.liferay.journal.internal.upgrade.v5_1_1.JournalArticleAssetEntryClassTypeIdUpgradeProcess upgrade process:
2024-11-20 12:58:59.859 INFO [main][UpgradeProcess:119] Upgrading com.liferay.journal.internal.upgrade.v5_1_1.JournalArticleAssetEntryClassTypeIdUpgradeProcessDo we have to do any action related to this WARN trace?
2024-11-20 12:59:01.049 WARN [main][JournalArticleAssetEntryClassTypeIdUpgradeProcess:104] Asset entries with the wrong class type ID 877421 were found
2024-11-20 12:59:01.050 WARN [main][JournalArticleAssetEntryClassTypeIdUpgradeProcess:114] 924905 has been set as class type ID for the entry IDs [106387002]
2024-11-20 12:59:01.051 WARN [main][JournalArticleAssetEntryClassTypeIdUpgradeProcess:114] 1113066 has been set as class type ID for the entry IDs [1168184]
2024-11-20 12:59:01.051 WARN [main][JournalArticleAssetEntryClassTypeIdUpgradeProcess:114] 924560 has been set as class type ID for the entry IDs [1050593, 1073586]
2024-11-20 12:59:01.051 WARN [main][JournalArticleAssetEntryClassTypeIdUpgradeProcess:104] Asset entries with the wrong class type ID 877389 were found
2024-11-20 12:59:01.052 WARN [main][JournalArticleAssetEntryClassTypeIdUpgradeProcess:114] 1113015 has been set as class type ID for the entry IDs [8090111, 8090158, 9052503]
2024-11-20 12:59:01.052 WARN [main][JournalArticleAssetEntryClassTypeIdUpgradeProcess:114] 877393 has been set as class type ID for the entry IDs [940137]
Environment
- Upgrade from DXP 7.3 to 2024.Q3
Resolution
- The WARN traces related to JournalArticleAssetEntryClassTypeIdUpgradeProcess upgrade process can be safely ignored.
- This upgrade was added in issue LPS-179267 to correct inconsistent information in the AssetEntry table that should match the information in the JournalArticle table.
- The WARN traces you are seeing are simply saying that there was incorrect information in the
classTypeIdcolumn ofAssetEntrytable that has been corrected with the information fromddmStructureIdcolumn ofJournalArticletable.
Additional Information
- LPS-179267 - Add an Upgrade Process to ensure that AssetEntry classTypeId match the JournalArticle ddmStructureId