From 71c606540ac0d5e7b33800ec151d9aab87af3b4d Mon Sep 17 00:00:00 2001 From: Ayoub Zayati Date: Mon, 22 Jan 2024 13:17:00 +0100 Subject: [PATCH] fix: Enable NodeTypeTemplateUpgradePlugin for 6.6.0 version in order to upgrade exo:news jcr nodetype view template - EXO-69032 (#193) The bad display problem of news article jcr node from file explorer is fixed by modifying the exo:news jcr nodetype view template, for existing data instances, we need to enable the NodeTypeTemplateUpgradePlugin for next version in order to apply the exo:news jcr nodetype view template modification. --- .../resources/conf/portal/configuration.xml | 57 +++++++++---------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/data-upgrade-ecms/src/main/resources/conf/portal/configuration.xml b/data-upgrade-ecms/src/main/resources/conf/portal/configuration.xml index 063f6cd5a..a65c915e3 100644 --- a/data-upgrade-ecms/src/main/resources/conf/portal/configuration.xml +++ b/data-upgrade-ecms/src/main/resources/conf/portal/configuration.xml @@ -82,82 +82,81 @@ - - + - NodeTypeTemplateUpgradePlugin + upgradeTemplateParamsPlugin addUpgradePlugin - org.exoplatform.ecms.upgrade.templates.NodeTypeTemplateUpgradePlugin - Upgrade templates for node types + org.exoplatform.ecms.upgrade.activities.TemplateParamsUpgradePlugin + Update activities template params key product.group.id The groupId of the product - org.exoplatform.ecms + org.exoplatform.platform + + + old.template.params.key + The plugin will replace this key by the new one + WORKSPACE + + + new.template.params.key + The plugin will replace the old key by this one + WORKSPACE plugin.execution.order The plugin execution order - 2 + 8 plugin.upgrade.execute.once Execute this upgrade plugin only once - false + true plugin.upgrade.async.execution - Execute this upgrade asynchronously + The plugin will be executed in an asynchronous mode true plugin.upgrade.target.version Target version of the plugin - 6.3.0 + 6.5.0 - + - upgradeTemplateParamsPlugin + NodeTypeTemplateUpgradePlugin addUpgradePlugin - org.exoplatform.ecms.upgrade.activities.TemplateParamsUpgradePlugin - Update activities template params key + org.exoplatform.ecms.upgrade.templates.NodeTypeTemplateUpgradePlugin + Upgrade templates for node types product.group.id The groupId of the product - org.exoplatform.platform - - - old.template.params.key - The plugin will replace this key by the new one - WORKSPACE - - - new.template.params.key - The plugin will replace the old key by this one - WORKSPACE + org.exoplatform.ecms plugin.execution.order The plugin execution order - 8 + 2 plugin.upgrade.execute.once Execute this upgrade plugin only once - true + false plugin.upgrade.async.execution - The plugin will be executed in an asynchronous mode + Execute this upgrade asynchronously true plugin.upgrade.target.version Target version of the plugin - 6.5.0 + 6.6.0