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

Upgrade to 6.1 fails when there is exists a image with the same name on the library

    Details

      Description

      I'm trying to upgrade from 6.0.6 to 6.1 RC, but I got a SQL Exception because of duplicated data for a unique index.

      Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.microsoft.sqlserver.jdbc.SQLServerException: No se puede insertar una fila de clave dupl  icada en el objeto 'dbo.DLFileEntry' con índice único 'IX_ED5CA615'. El valor de clave duplicada es (10307, 0, titulo).
      

      After some debug I found that it's caused because there is exists 2 images with the same name on the IGImage table.

      As a workaround you can change the name of the duplicate files manually.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              cristhiank Cristhian C Lopez (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 29 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2