icon

Data Migration Tab Loading Fix Hook

icon
Ravi Kumar Gupta
Data Modeling & Business Logic
Description
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
Liferay is trademark of Liferay, Inc., Liferay International Limited and/or Liferay Affiliate, registered in the United States and/or other countries.
License
    All prices displayed are in USD. For pricing specific to your country/currency, please follow the installation instructions below for accessing and purchasing this app through your Control Panel.
    Release Summary and Release Notes
    Version Change Log Supported Framework Versions Date Added
    1.0.0.0
    Liferay Portal 6.1 EE GA2+
    2014-12-02
    DEVELOPER
    Ravi Kumar Gupta
    Published Date
    Version
    1.0.0.0
    Supported Versions
    6.1
    Edition
    EE
    Price
    Free
    SHARE LINK

    Installation Instructions

    This is a Legacy App that is no longer available in the new App Marketplace. You are able to acquire it from your installed DXP or CE instance and install it by following the instructions below.

    Acquiring this App through the legacy Liferay Portal Store

    1. Review app documentation for any specific installation instructions.
    2. Login to your Liferay Portal instance with administrative permissions.
    3. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Store.
    4. If needed, login to your Liferay.com account by choosing Sign In.
    5. Search for the app name in the Search dialog.
    6. Once the app is found, click on the app in the search results.
    7. On the app details page, choose to acquire the app by selecting the Free, Buy, or Trial button.
    8. Follow the instructions on the screen to complete the acquisition.

    Installing this App through legacy Liferay Portal Purchased Apps

    1. After acquiring the app, login to your Liferay Portal instance with administrative permissions.
    2. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Purchased.
    3. If needed, login to your Liferay.com account by choosing Sign In.
    4. Click the Install button to install your app on your Liferay Portal instance.

    See the legacy App Marketplace help documentation for more information.