Skip to content

Commit

Permalink
fix: Recognition Setup Upgrade Plugin Name (#2160)
Browse files Browse the repository at this point in the history
Prior to this change, the name RecognitionSetupPageUpgrade is repeated.
This change ensures to not repeat it and reduces the useless number of
Upgrade plugins.
  • Loading branch information
boubaker authored Jun 14, 2024
1 parent dc3fcaa commit 6794d4c
Showing 1 changed file with 1 addition and 96 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,101 +120,6 @@
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>RecognitionSetupPageUpgrade</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<description>An upgrade plugin to delete some recognition administration navigations</description>
<init-params>
<value-param>
<name>product.group.id</name>
<value>org.exoplatform.social</value>
</value-param>
<value-param>
<name>plugin.execution.order</name>
<value>120</value>
</value-param>
<value-param>
<name>plugin.upgrade.execute.once</name>
<value>true</value>
</value-param>
<value-param>
<name>enabled</name>
<value>true</value>
</value-param>
<object-param>
<name>overview.upgrade</name>
<object type="io.meeds.social.upgrade.model.LayoutUpgrade">
<field name="updateNavigation">
<boolean>true</boolean>
</field>
<field name="importMode">
<string>MERGE</string>
</field>
<field name="configPath">
<string>war:/conf/sites/</string>
</field>
<field name="portalType">
<string>portal</string>
</field>
<field name="portalName">
<string>administration</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>SetupAdministrationPageLayoutUpgrade</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<description>An upgrade plugin to delete some recognition administration navigations</description>
<init-params>
<value-param>
<name>product.group.id</name>
<value>org.exoplatform.social</value>
</value-param>
<value-param>
<name>plugin.execution.order</name>
<value>120</value>
</value-param>
<value-param>
<name>plugin.upgrade.execute.once</name>
<value>true</value>
</value-param>
<value-param>
<name>enabled</name>
<value>true</value>
</value-param>
<object-param>
<name>overview.upgrade</name>
<object type="io.meeds.social.upgrade.model.LayoutUpgrade">
<field name="updatePageLayout">
<boolean>true</boolean>
</field>
<field name="importMode">
<string>MERGE</string>
</field>
<field name="configPath">
<string>war:/conf/sites/</string>
</field>
<field name="portalType">
<string>portal</string>
</field>
<field name="portalName">
<string>administration</string>
</field>
<field name="pageNames">
<collection type="java.util.ArrayList" item-type="java.lang.String">
<value>
<string>recognitionSetup</string>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>BreadcrumbAdministrationSiteLayoutUpgrade</name>
<set-method>addUpgradePlugin</set-method>
Expand Down Expand Up @@ -408,7 +313,7 @@
</init-params>
</component-plugin>
<component-plugin>
<name>RecognitionSetupPageUpgrade</name>
<name>RecognitionSetupPageLayoutUpgrade</name>
<set-method>addUpgradePlugin</set-method>
<type>io.meeds.social.upgrade.LayoutUpgradePlugin</type>
<init-params>
Expand Down

0 comments on commit 6794d4c

Please sign in to comment.