Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.X, 7.2.X, 7.3.X, Master
-
3
-
Database Upgrade
Description
Steps to reproduce it:
- Startup master with a fresh database
Results:
Some upgrade processes run, for example:
2018-10-29 09:26:18.469 INFO [main][UpgradeProcess:107] Completed upgrade process com.liferay.microblogs.web.internal.upgrade.v1_0_0.UpgradePortletId in 13 ms INFO - Completed upgrade process com.liferay.microblogs.web.internal.upgrade.v1_0_0.UpgradePortletId in 13 ms 2018-10-29 09:26:18.799 INFO [main][UpgradeProcess:93] Upgrading com.liferay.push.notifications.web.internal.upgrade.v1_0_0.UpgradePortletId INFO - Upgrading com.liferay.push.notifications.web.internal.upgrade.v1_0_0.UpgradePortletId
And others that don't print traces such the one related to _configurationUpgradeStepFactory in RSSWebUpgrade are executed when it's not needed.
Expected results:
Those upgrade process are not executed.
Technical notes:
For web modules, we need to specify the upgrade path for clean installations, that upgrade path has to run from 0.0.0 to the latest defined schema version, however we usually forget to update it. Just check the previous examples.
To solve it we should either:
- Review all web upgrade processes and create a SF rule to avoid future mistakes or
- Create a framework to avoid to have to update that upgrade path anytime (preferred)
Attachments
Issue Links
- is fixed by
-
LPS-155604 Do not execute upgrades on start up with auto upgrade to false
-
- Closed
-
- relates
-
LPS-137697 Create a way to automate performing upgrades from 0.0.0 to the latest schema version for non-service modules.
-
- Open
-
-
LPS-155604 Do not execute upgrades on start up with auto upgrade to false
-
- Closed
-
-
LPS-169405 Product QA | Functional Automation
-
- Open
-
-
LPS-169406 Test Scenarios Coverage | Test Creation
-
- Open
-