Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-28579

5.2 to 6.1 upgrade process: column doesn't exist (service method call)

Details

    • Bug
    • Status: Closed
    • Resolution: Duplicate
    • 6.1.10 EE GA1, 6.2.0 CE M2
    • --Sprint 11/12, 6.2.0 CE M2
    • None

    Description

      During the upgrade process from 5.2SP5 to 6.1 when it tries to upgrade to 6.0.11 the class UpgradeAsset calls a service method which in its current implementation looks for the field group_.site that only exists for 6.1. I have attached the file "upgrade_error.txt" with the exception.

      Steps to reproduce:
      1- Startup portal 5.2SP5
      2- Create a category vocabulary and one category for that vocabulary
      3- Shutdown the server
      4- Startup the portal 6.1 EE pointing to the same database and with the following upgrade path:
      upgrade.processes=\
      com.liferay.portal.upgrade.UpgradeProcess_5_2_9_to_6_0_11,\
      com.liferay.portal.upgrade.UpgradeProcess_6_0_12,\
      com.liferay.portal.upgrade.UpgradeProcess_6_0_12_to_6_1_0,\
      com.liferay.portal.upgrade.UpgradeProcess_6_1_1
      5- The execption is displayed

      Error calling this method:
      ResourceLocalServiceUtil.addModelResources(companyId, groupId, 0, resourceName, null, null, null);
      in /portal_6.1.10/portal-impl/src/com/liferay/portal/upgrade/v6_0_0/UpgradeAsset.java

      Attachments

        Issue Links

          Activity

            People

              hugo.huijser Hugo Huijser (Inactive)
              alberto.chaparro Alberto Chaparro
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10 years, 48 weeks, 3 days ago

                Packages

                  Version Package
                  --Sprint 11/12
                  6.2.0 CE M2