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

              • Assignee:
                mark.jin Mark Jin (Inactive)
                Reporter:
                tamas.molnar Tamas Molnar
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 45 weeks, 1 day ago