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

Upgrade process doesn't update friendlyURL column when upgrading to 6.0

Details

    Description

      Upgrading from 5.2 to 6.0 or above leaves friendlyURL column untouched.

      This behavior could cause problems during the import process
      1. Set up a clean portal version 6.0 or above
      2. Create a page with a long (more than 100 characters) friendlyURL
      3. Export the pages
      4. Create another environment: upgrade from 5.2 to 6.0-
      5. Try to import the lar file

      Result: The import process fails.

      16:10:41,644 ERROR [http-bio-9090-exec-21][JDBCExceptionReporter:76] Data truncation: Data too long for column 'friendlyURL' at row 1
      16:10:47,333 ERROR [http-bio-9090-exec-21][ImportLayoutsAction:92] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.DataException: Could not execute JDBC batch update
      com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.DataException: Could not execute JDBC batch update
      

      Attachments

        Issue Links

          Activity

            People

              mark.jin Mark Jin (Inactive)
              tamas.molnar Tamas Molnar (Inactive)
              Rafaela Nascimento Rafaela Nascimento
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 47 weeks, 6 days ago

                Packages

                  Version Package
                  6.0.X EE
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1