Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-34297

Restoring a page results in Exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Support Request
    • Low
    • None
    • 5.3.4
    • None

    Description

      Hi,

      restoring a page from trash doesn't work. It says, the cause is:

      org.springframework.dao.DataIntegrityViolationException: Hibernate operation: could not insert: com.atlassian.confluence.pages.attachments.ImageDetailsDto#125307008; SQL []; Violation of PRIMARY KEY constraint 'PK_IMAGEDET23CEF7B0117F9D94'. Cannot insert duplicate key in object 'dbo.IMAGEDETAILS'. The duplicate key value is (125307008).; nested exception is java.sql.SQLException: Violation of PRIMARY KEY constraint 'PKIMAGEDET_23CEF7B0117F9D94'. Cannot insert duplicate key in object 'dbo.IMAGEDETAILS'. The duplicate key value is (125307008).
      at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:100)

      caused by: java.sql.SQLException: Violation of PRIMARY KEY constraint 'PK_IMAGEDET_23CEF7B0117F9D94'. Cannot insert duplicate key in object 'dbo.IMAGEDETAILS'. The duplicate key value is (125307008).
      at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)

      What should we do?

      Best regards,
      Mario

      Attachments

        Activity

          People

            shaffenden Steve Haffenden (Inactive)
            72689471fb39 mreissmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: