Add Kaleo Forms Web to list of bundles whose releases should be created
Description
Activity
Show:
Completed
Details
Assignee
Brian ChanBrian ChanReporter
Adam BrandizziAdam BrandizziBranch Version/s
7.0.xBackported to Branch
CommittedGit Pull Request
Components
Affects versions
Priority
Critical
Details
Details
Assignee

Reporter

Branch Version/s
7.0.x
Backported to Branch
Committed
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created February 21, 2017 at 10:28 AM
Updated June 26, 2023 at 12:21 AM
Resolved February 21, 2017 at 1:13 PM
Any reference to the Kaleo Forms portlet is converted to the
com.liferay.portal.workflow.kaleo.forms.service
bundle during the migration from 6.x to 7.0, including the row in theRelease_
table. However, no row for the newcom.liferay.portal.workflow.forms.web
bundle is added to theRelease_
table. Once its upgrade process starts, it considers that there were no corresponding module to be upgraded and the release row should be created instqad, which is false.The problem is, many references to Kaleo Forms portlet can be found in layout settings/portlet preferences in the form
1_WAR_kaleoformsportlet
. There is an upgrade process that converts them to thecom.liferay.portal.workflow.forms.web
bundle references (). However, since no release ofcom.liferay.portal.workflow.forms.web
exists in the database, the upgrade tool thinks it should create a new one and so does not execute any upgrade process. To solve that, we should ensure that a row representingcom.liferay.portal.workflow.forms.web
will be available in the {{Release}} table before upgrade processes are executed_. This is easily done by appending to theUpgradeModules._BUNDLE_SYMBOLIC_NAMES
array.