/o//commerce-media/accounts/-1/images/18481807?download=true

Data Migration Tab Loading Fix Hook
Icon
DXP App
18481559
This hook fixes data migration tab loading issue. This is a JSP Hook for Liferay Portal 6.1.20EE.
If you have many files in document library of Liferay portal, this problem will occur. Data migration tab will not get loaded. Each uploaded/updated file creates entries to DLFileEntry and DLFileVersion tables in database.

When we load data migration tab in Control Panel > Server Administration > Data Migration, Liferay tries to get all the ConvertProcess types which can be used to migrate data. One of which is com.liferay.portal.convert.ConvertDocumentLibraryExtraSettings for which the query below runs. This query takes a lot of time to complete and depends on number of rows in both tables.
Usually the result of the query is zero and the method call convertProcess.isEnabled() returns false. And if it is false, ConvertDocumentLibraryExtraSettings is not going to appear in the dropdown which lists all available conversion process. In this case, it should be safe to use this hook.
More information at : http://techdc.blogspot.in/2014/11/liferay-data-migration-tab-loading.html
DEVELOPER
Ravi Kumar Gupta
DEVELOPER
12/2/14 12:00 AM
Published date
December 2, 2014
Published Date
12/2/14 12:00 AM
SUPPORTED OFFERINGS
Self-Hosted, Self-Managed
Supported Versions
6.1
Resource Requirements
Edition
EE
PRICE
Free
help & support
Terms & Conditions
SHARE LINK
Copy & Share Link

HTML Example

A paragraph is a self-contained unit of a discourse in writing dealing with a particular point or idea. Paragraphs are usually an expected part of formal writing, used to organize longer prose.