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