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

Upgrade fails with StringIndexOutOfBoundsException going from U32 to U33

Details

    Description

      Notes: I created a simple custom object and entry on U32 and generated the dump.

      Steps:

      1. Download the attached zip file, 74-u32.zip and unzip it
      2. Copy the contents of the data folder to the data folder of U33
      3. Import the database dump, lportal.sql
      4. Go to ./tools/portal-tools-db-upgrade-client
      5. Execute ./db_upgrade.sh (Linux or Mac) or db_upgrade.bat (Windows)

      Expected Result:
      Expected the upgrade to complete successfully

      Actual result:
      Upgrade fails with the following error. The console logs are attached to the ticket.

      ERROR [main][UpgradeStepRegistratorTracker:221] Failed upgrade process for module com.liferay.notification.service
      com.liferay.portal.kernel.upgrade.UpgradeException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      

      Attachments

        1. 74-u32.zip
          2.12 MB
        2. Dump20220707.zip
          927 kB
        3. upgrade.log
          36 kB

        Issue Links

          Activity

            People

              timothy.pak Timothy Pak
              alessandro.iovane Alessandro Iovane
              Tayanna Sotero Tayanna Sotero
              Carolina Barbosa Carolina Barbosa
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                46 weeks, 1 day ago

                Packages

                  Version Package
                  7.4.3.33 CE GA33
                  7.4.13 DXP U33
                  Master